<html><head><base href="x-msg://4932/"></head><body style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space; "><div>I tried reproducing what you did - by using a modified version of "testRTSPClient" that</div><div><span class="Apple-tab-span" style="white-space:pre"> </span>- plays a stream for 5 seconds</div><div><span class="Apple-tab-span" style="white-space:pre"> </span>- pauses for 7 seconds</div><div><span class="Apple-tab-span" style="white-space:pre"> </span>- plays the stream again (starting from 0, as you did[*])</div><div>(It also prints out the NPT time (along with the presentation time) for each received frame.)</div><div><br></div><div>However, I didn't see anything wrong with the NPT values at any time.</div><div><br></div><div>FYI, I have attached my modified "testRTSPClient.cpp" to this message. Feel free to compile and run it for yourself.</div><div><br></div><div>However, I'm curious about what you've written here: </div><div><br><blockquote type="cite"><span class="Apple-style-span" style="border-collapse: separate; 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; "><div lang="DE" link="blue" vlink="purple"><div class="WordSection1" style="page: WordSection1; "><div style="margin-top: 0cm; margin-right: 0cm; margin-left: 0cm; margin-bottom: 0.0001pt; font-size: 11pt; font-family: Calibri, sans-serif; ">presentationTime before NPT: 13469992513654<o:p></o:p></div><div style="margin-top: 0cm; margin-right: 0cm; margin-left: 0cm; margin-bottom: 0.0001pt; font-size: 11pt; font-family: Calibri, sans-serif; ">presentationTime after NPT: 10000000</div></div></div></span></blockquote>(etc.)</div><div><br></div><div>This suggests to me that perhaps you don't quite understand the difference between "presentation time" and "normal play time" (aka. NPT). They are *different* times, with *different* time scales, so it doesn't make sense to talk about "presentationTime before NPT" or "presentationTime after NPT".</div><div><br></div><div>"presentation time" (in seconds and microseconds) indicates a (relative) time at which each frame should be fed to a decoder.</div><div><br></div><div>"normal play time" (NPT) indicates the current 'human readable' position in the stream. I.e., think of it as being like the play time shown on the front of a VCR, if you had a VCR playing the stream.</div><div><br></div><div>(Also, neither time is an integer, so I don't know why you've written integers above.)</div><div><br></div><div>[*] Actually, your second call to "sendPlayCommand()" specified a start time of -1.0 (which got converted to 0.0). I don't know why you did that...</div><br><br><div apple-content-edited="true">
Ross Finlayson<br>Live Networks, Inc.<br><a href="http://www.live555.com/">http://www.live555.com/</a>
</div><div apple-content-edited="true"><br></div>
</body></html>