<html><head><base href="x-msg://9010/"></head><body style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space; "><div><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="ZH-TW" link="blue" vlink="purple"><div class="Section1" style="page: Section1; "><div style="margin-top: 0cm; margin-right: 0cm; margin-left: 0cm; margin-bottom: 0.0001pt; font-size: 12pt; font-family: 'Times New Roman'; "><font size="1" face="Arial"><span lang="EN-US" style="font-size: 9pt; font-family: Arial; ">I would like to random access the video, so I send a PAUSE command and then a PLAY command with a specified time.<o:p></o:p></span></font></div><div style="margin-top: 0cm; margin-right: 0cm; margin-left: 0cm; margin-bottom: 0.0001pt; font-size: 12pt; font-family: 'Times New Roman'; "><font size="1" face="Arial"><span lang="EN-US" style="font-size: 9pt; font-family: Arial; ">That is like follows.<o:p></o:p></span></font></div><div style="margin-top: 0cm; margin-right: 0cm; margin-left: 0cm; margin-bottom: 0.0001pt; font-size: 12pt; font-family: 'Times New Roman'; "><font size="1" face="Arial"><span lang="EN-US" style="font-size: 9pt; font-family: Arial; "><o:p> </o:p></span></font></div><pre style="margin-top: 0cm; margin-right: 0cm; margin-left: 0cm; margin-bottom: 0.0001pt; font-size: 12pt; font-family: MingLiU; background-image: initial; background-attachment: initial; background-origin: initial; background-clip: initial; background-color: white; background-position: initial initial; background-repeat: initial initial; "><font size="1" color="black" face="Arial"><span lang="EN-US" style="font-size: 9pt; font-family: Arial; color: black; ">PAUSE <a href="rtsp://113.31.34.14:554/work/500/115/969/967/500.3gp" style="color: blue; text-decoration: underline; ">rtsp://113.31.34.14:554/work/500/115/969/967/500.3gp</a> RTSP/1.0<o:p></o:p></span></font></pre><pre style="margin-top: 0cm; margin-right: 0cm; margin-left: 0cm; margin-bottom: 0.0001pt; font-size: 12pt; font-family: MingLiU; background-image: initial; background-attachment: initial; background-origin: initial; background-clip: initial; background-color: white; background-position: initial initial; background-repeat: initial initial; "><font size="1" color="black" face="Arial"><span lang="EN-US" style="font-size: 9pt; font-family: Arial; color: black; ">SeqNo: 3<o:p></o:p></span></font></pre><pre style="margin-top: 0cm; margin-right: 0cm; margin-left: 0cm; margin-bottom: 0.0001pt; font-size: 12pt; font-family: MingLiU; background-image: initial; background-attachment: initial; background-origin: initial; background-clip: initial; background-color: white; background-position: initial initial; background-repeat: initial initial; "><font size="1" color="black" face="Arial"><span lang="EN-US" style="font-size: 9pt; font-family: Arial; color: black; ">Session: 6347526623097789397<o:p></o:p></span></font></pre><pre style="margin-top: 0cm; margin-right: 0cm; margin-left: 0cm; margin-bottom: 0.0001pt; font-size: 12pt; font-family: MingLiU; background-image: initial; background-attachment: initial; background-origin: initial; background-clip: initial; background-color: white; background-position: initial initial; background-repeat: initial initial; "><font size="1" color="black" face="Arial"><span lang="EN-US" style="font-size: 9pt; font-family: Arial; color: black; ">(==> without range header)<o:p></o:p></span></font></pre><pre style="margin-top: 0cm; margin-right: 0cm; margin-left: 0cm; margin-bottom: 0.0001pt; font-size: 12pt; font-family: MingLiU; background-image: initial; background-attachment: initial; background-origin: initial; background-clip: initial; background-color: white; background-position: initial initial; background-repeat: initial initial; "><font size="1" color="black" face="Arial"><span lang="EN-US" style="font-size: 9pt; font-family: Arial; color: black; "><o:p> </o:p></span></font></pre><pre style="margin-top: 0cm; margin-right: 0cm; margin-left: 0cm; margin-bottom: 0.0001pt; font-size: 12pt; font-family: MingLiU; background-image: initial; background-attachment: initial; background-origin: initial; background-clip: initial; background-color: white; background-position: initial initial; background-repeat: initial initial; "><font size="1" color="black" face="Arial"><span lang="EN-US" style="font-size: 9pt; font-family: Arial; color: black; ">...<o:p></o:p></span></font></pre><pre style="margin-top: 0cm; margin-right: 0cm; margin-left: 0cm; margin-bottom: 0.0001pt; font-size: 12pt; font-family: MingLiU; background-image: initial; background-attachment: initial; background-origin: initial; background-clip: initial; background-color: white; background-position: initial initial; background-repeat: initial initial; "><font size="1" color="black" face="Arial"><span lang="EN-US" style="font-size: 9pt; font-family: Arial; color: black; "><o:p> </o:p></span></font></pre><pre style="margin-top: 0cm; margin-right: 0cm; margin-left: 0cm; margin-bottom: 0.0001pt; font-size: 12pt; font-family: MingLiU; background-image: initial; background-attachment: initial; background-origin: initial; background-clip: initial; background-color: white; background-position: initial initial; background-repeat: initial initial; "><font size="1" color="black" face="Arial"><span lang="EN-US" style="font-size: 9pt; font-family: Arial; color: black; ">PLAY <a href="rtsp://113.31.34.14:554/work/500/115/969/967/500.3gp" style="color: blue; text-decoration: underline; ">rtsp://113.31.34.14:554/work/500/115/969/967/500.3gp</a> RTSP/1.0<o:p></o:p></span></font></pre><pre style="margin-top: 0cm; margin-right: 0cm; margin-left: 0cm; margin-bottom: 0.0001pt; font-size: 12pt; font-family: MingLiU; background-image: initial; background-attachment: initial; background-origin: initial; background-clip: initial; background-color: white; background-position: initial initial; background-repeat: initial initial; "><font size="1" color="black" face="Arial"><span lang="EN-US" style="font-size: 9pt; font-family: Arial; color: black; ">SeqNo: 4<o:p></o:p></span></font></pre><pre style="margin-top: 0cm; margin-right: 0cm; margin-left: 0cm; margin-bottom: 0.0001pt; font-size: 12pt; font-family: MingLiU; background-image: initial; background-attachment: initial; background-origin: initial; background-clip: initial; background-color: white; background-position: initial initial; background-repeat: initial initial; "><font size="1" color="black" face="Arial"><span lang="EN-US" style="font-size: 9pt; font-family: Arial; color: black; ">Range: npt=12-100    (==> set start play point at the 12<sup>th</sup> second)<o:p></o:p></span></font></pre><pre style="margin-top: 0cm; margin-right: 0cm; margin-left: 0cm; margin-bottom: 0.0001pt; font-size: 12pt; font-family: MingLiU; background-image: initial; background-attachment: initial; background-origin: initial; background-clip: initial; background-color: white; background-position: initial initial; background-repeat: initial initial; "><font size="1" color="black" face="Arial"><span lang="EN-US" style="font-size: 9pt; font-family: Arial; color: black; ">Session: 6347526623097789397<o:p></o:p></span></font></pre><pre style="margin-top: 0cm; margin-right: 0cm; margin-left: 0cm; margin-bottom: 0.0001pt; font-size: 12pt; font-family: MingLiU; background-image: initial; background-attachment: initial; background-origin: initial; background-clip: initial; background-color: white; background-position: initial initial; background-repeat: initial initial; "><font size="1" color="black" face="Arial"><span lang="EN-US" style="font-size: 9pt; font-family: Arial; color: black; "><o:p> </o:p></span></font></pre><pre style="margin-top: 0cm; margin-right: 0cm; margin-left: 0cm; margin-bottom: 0.0001pt; font-size: 12pt; font-family: MingLiU; background-image: initial; background-attachment: initial; background-origin: initial; background-clip: initial; background-color: white; background-position: initial initial; background-repeat: initial initial; "><font size="1" color="black" face="Arial"><span lang="EN-US" style="font-size: 9pt; font-family: Arial; color: black; "><o:p> </o:p></span></font></pre><pre style="margin-top: 0cm; margin-right: 0cm; margin-left: 0cm; margin-bottom: 0.0001pt; font-size: 12pt; font-family: MingLiU; background-image: initial; background-attachment: initial; background-origin: initial; background-clip: initial; background-color: white; background-position: initial initial; background-repeat: initial initial; "><font size="1" color="black" face="Arial"><span lang="EN-US" style="font-size: 9pt; font-family: Arial; color: black; ">However, I can’t control the network traffic, so I may still receive some old RTP packets after receiving PLAY response.</span></font></pre></div></div></span></blockquote><div><br></div></div><div>Are you actually seeing this happen with this server (a Darwin Streaming Server)?    Our RTP reception software will automatically discard out-of-order incoming RTP packets (by checking the RTP sequence number).  So, if you're seeing "old RTP packets" after the "PLAY", then presumably you're seeing some 'old RTP packets', followed by only 'new RTP packets'.  You should not be seeing 'old RTP packets' mixed with 'new RTP packets'.</div><div><br></div><div>In this case, I wouldn't worry too much about this.  It's unlikely that you're seeing very many 'old RTP packets' (unless your server is badly broken), so you can probably just feed all incoming data to your decoder, as usual, and things should be OK.  It'll be merely as if you slightly delayed sending the "PAUSE" command.</div><div><br></div><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>