<div dir="ltr"><div>Hello Ross,</div><div><br></div><div>handleClosure sends 'BYE' to the client, and I only want to pause it and be able to request more frames (ranges). I finally implemented what I needed using the task scheduler (scheduleDelayedTask/unscheduleDelatedTask). All is working quite well now.</div>
<div><br></div><div>Thanks for your support.</div>
</div><div class="gmail_extra"><br><br><div class="gmail_quote">2013/9/12 Ross Finlayson <span dir="ltr"><<a href="mailto:finlayson@live555.com" target="_blank">finlayson@live555.com</a>></span><br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<div style="word-wrap:break-word"><div><div class="im"><blockquote type="cite"><div dir="ltr"><div><span style="white-space:pre-wrap">In any case, I don't know what should I do </span><span style="white-space:pre-wrap">in any of the modes (SMTPE/NPT/Absolute) </span><span style="white-space:pre-wrap">when the server has sent the complete range specified in the play command from the client. </span>In RFC2326 I see this statement:</div>

<div><pre style="word-wrap:break-word;white-space:pre-wrap">After playing the desired range, the presentation is automatically paused, as if a PAUSE request had been issued.</pre></div><div><font><span style="white-space:pre-wrap">How should I implement this in live555?</span></font></div>
</div></blockquote><div><br></div></div>Just stop sending data :-)</div><div><br></div><div>The best way to do this is - within your "doGetNextFrame()" implementation - call "FramedSource::handleClosure(this);" instead of the usual "FramedSource::afterGetting(this);".  As I noted before, this is what "ByteStreamFileSource" does.</div>
<div class="im"><br><br><div>
<span style="text-indent:0px;letter-spacing:normal;font-variant:normal;text-align:-webkit-auto;font-style:normal;font-weight:normal;line-height:normal;border-collapse:separate;text-transform:none;font-size:medium;white-space:normal;font-family:Helvetica;word-spacing:0px"><span style="text-indent:0px;letter-spacing:normal;font-variant:normal;text-align:-webkit-auto;font-style:normal;font-weight:normal;line-height:normal;border-collapse:separate;text-transform:none;font-size:medium;white-space:normal;font-family:Helvetica;word-spacing:0px">Ross Finlayson<br>
Live Networks, Inc.<br><a href="http://www.live555.com/" target="_blank">http://www.live555.com/</a></span></span>
</div>
<br></div></div><br>_______________________________________________<br>
live-devel mailing list<br>
<a href="mailto:live-devel@lists.live555.com">live-devel@lists.live555.com</a><br>
<a href="http://lists.live555.com/mailman/listinfo/live-devel" target="_blank">http://lists.live555.com/mailman/listinfo/live-devel</a><br>
<br></blockquote></div><br><br clear="all"><div><br></div>-- <br><div dir="ltr"><div><span style="color:rgb(0,0,0);font-size:small;font-family:Helvetica;text-align:-webkit-auto">Francisco Feijoo</span><br></div><div><span style="text-align:-webkit-auto;border-collapse:separate;font-family:Helvetica"><font><font color="#000000">Software Engineer<br>
EyeLynx Limited<br></font><br><font color="#000000">T: </font><a value="+442081339388" style="color:rgb(17,85,204)">+44 020 8133 9388</a><br><font color="#000000">E: </font><a href="mailto:francisco@eyelynx.com" style="color:rgb(17,85,204)" target="_blank">francisco@eyelynx.com</a><br>
<font color="#000000">W:</font><font color="#888888"> </font><a href="http://www.eyelynx.com/" style="color:rgb(17,85,204)" target="_blank">www.eyelynx.com</a></font></span></div></div>
</div>