<html><head><meta http-equiv="Content-Type" content="text/html charset=iso-8859-1"></head><body style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space; "><div><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>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><br><br><div apple-content-edited="true">
<span class="Apple-style-span" style="border-collapse: separate; color: rgb(0, 0, 0); font-family: Helvetica; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; orphans: 2; text-align: -webkit-auto; text-indent: 0px; text-transform: none; white-space: normal; widows: 2; word-spacing: 0px; -webkit-border-horizontal-spacing: 0px; -webkit-border-vertical-spacing: 0px; -webkit-text-decorations-in-effect: none; -webkit-text-size-adjust: auto; -webkit-text-stroke-width: 0px; font-size: medium; "><span class="Apple-style-span" style="border-collapse: separate; color: rgb(0, 0, 0); font-family: Helvetica; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; orphans: 2; text-align: -webkit-auto; text-indent: 0px; text-transform: none; white-space: normal; widows: 2; word-spacing: 0px; -webkit-border-horizontal-spacing: 0px; -webkit-border-vertical-spacing: 0px; -webkit-text-decorations-in-effect: none; -webkit-text-size-adjust: auto; -webkit-text-stroke-width: 0px; font-size: medium; ">Ross Finlayson<br>Live Networks, Inc.<br><a href="http://www.live555.com/">http://www.live555.com/</a></span></span>
</div>
<br></body></html>