<html>
<head>
<META HTTP-EQUIV="Content-Type" CONTENT="text/html; charset=utf-8">
<meta name=Generator content="Microsoft Word 10 (filtered)">
<base href="x-msg://9010/">
<style>
<!--
/* Font Definitions */
@font-face
{font-family:Helvetica;
panose-1:2 11 6 4 2 2 2 2 2 4;}
@font-face
{font-family:新細明體;
panose-1:2 2 3 0 0 0 0 0 0 0;}
@font-face
{font-family:細明體;
panose-1:2 2 3 9 0 0 0 0 0 0;}
@font-face
{font-family:Tahoma;
panose-1:2 11 6 4 3 5 4 4 2 4;}
@font-face
{font-family:"\@新細明體";
panose-1:2 2 3 0 0 0 0 0 0 0;}
@font-face
{font-family:"\@細明體";
panose-1:2 2 3 9 0 0 0 0 0 0;}
/* Style Definitions */
p.MsoNormal, li.MsoNormal, div.MsoNormal
{margin:0cm;
margin-bottom:.0001pt;
font-size:12.0pt;
font-family:"Times New Roman";}
a:link, span.MsoHyperlink
{color:blue;
text-decoration:underline;}
a:visited, span.MsoHyperlinkFollowed
{color:blue;
text-decoration:underline;}
pre
{margin:0cm;
margin-bottom:.0001pt;
font-size:10.0pt;
font-family:"Courier New";}
span.EmailStyle19
{font-family:Arial;
color:navy;}
@page Section1
{size:595.3pt 841.9pt;
margin:72.0pt 90.0pt 72.0pt 90.0pt;}
div.Section1
{page:Section1;}
-->
</style>
</head>
<body lang=ZH-TW link=blue vlink=blue style='word-wrap: break-word;-webkit-nbsp-mode: space;
-webkit-line-break: after-white-space'>
<div class=Section1>
<p class=MsoNormal style='text-indent:24.0pt'><font size=3 color=navy
face="Times New Roman"><span lang=EN-US style='font-size:12.0pt;color:navy'><span
style='orphans: 2;text-align:-webkit-auto;widows: 2;-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;word-spacing:
0px'>Yes. It happened. Sometimes, network traffic may be congested.</span></font></p>
<p class=MsoNormal style='text-indent:24.0pt'><font size=3 color=navy
face="Times New Roman"><span lang=EN-US style='font-size:12.0pt;color:navy'>When
randomly accessing the video, we can’t guarantee the last old RTP packets arrive
earlier than the first new RTP packet due to congested network.</span></font></p>
<p class=MsoNormal style='text-indent:24.0pt'><font size=3
face="Times New Roman"><span lang=EN-US style='font-size:12.0pt'>If I just feed
all incoming data to decoder, as usual<font color=navy><span style='color:navy'>,</span></font></span></font><font
size=1 color=navy face=Arial><span lang=EN-US style='font-size:9.0pt;
font-family:Arial;color:navy'> the player would display the old video frame in
the new position.</span></font></p>
<p class=MsoNormal style='text-indent:24.0pt'><font size=1 color=navy
face=Arial><span lang=EN-US style='font-size:9.0pt;font-family:Arial;
color:navy'>So, we need more information (e.g. RTP header, command response…) to
overcome the problem resulting from congested network.</span></font></p>
<p class=MsoNormal><font size=1 color=navy face=Arial><span lang=EN-US
style='font-size:9.0pt;font-family:Arial;color:navy'> </span></font></p>
<p class=MsoNormal style='margin-left:24.0pt'><font size=2 face=Tahoma><span
lang=EN-US style='font-size:10.0pt;font-family:Tahoma'>-----Original
Message-----<br>
<b><span style='font-weight:bold'>From:</span></b>
live-devel-bounces@ns.live555.com [mailto:live-devel-bounces@ns.live555.com] <b><span
style='font-weight:bold'>On Behalf Of </span></b>Ross Finlayson<br>
<b><span style='font-weight:bold'>Sent:</span></b> Saturday, January 07, 2012
5:46 PM<br>
<b><span style='font-weight:bold'>To:</span></b> LIVE555 Streaming Media -
development & use<br>
<b><span style='font-weight:bold'>Subject:</span></b> Re: [Live-devel] How to
distinguish new RTP packets fromout-of-data RTP packets when random accessing
the video</span></font></p>
<p class=MsoNormal style='margin-left:24.0pt'><font size=3
face="Times New Roman"><span lang=EN-US style='font-size:12.0pt'> </span></font></p>
<div>
<blockquote style='margin-top:5.0pt;margin-bottom:5.0pt'>
<div link=blue vlink=purple>
<div>
<p class=MsoNormal style='margin-left:24.0pt'><font size=1 face=Arial><span
lang=EN-US style='font-size:9.0pt;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.<u1:p></u1:p></span></font></p>
</div>
<div>
<p class=MsoNormal style='margin-left:24.0pt'><font size=1 face=Arial><span
lang=EN-US style='font-size:9.0pt;font-family:Arial'>That is like follows.<u1:p></u1:p></span></font></p>
</div>
<div>
<p class=MsoNormal style='margin-left:24.0pt'><font size=1 face=Arial><span
lang=EN-US style='font-size:9.0pt;font-family:Arial'><u1:p> </u1:p></span></font></p>
</div>
<pre style='margin-left:24.0pt;background:white;background-image:initial;
background-attachment:initial;background-origin: initial;background-clip: initial;
background-position:initial initial;background-repeat:initial initial'><font
size=1 color=black face=Arial><span lang=EN-US style='font-size:9.0pt;
font-family:Arial;color:black'>PAUSE <a
href="rtsp://113.31.34.14:554/work/500/115/969/967/500.3gp">rtsp://113.31.34.14:554/work/500/115/969/967/500.3gp</a> RTSP/1.0<u1:p></u1:p></span></font></pre><pre
style='margin-left:24.0pt;background:white;background-image:initial;background-attachment:
initial;background-origin: initial;background-clip: initial;background-position:
initial initial;background-repeat:initial initial'><font size=1 color=black
face=Arial><span lang=EN-US style='font-size:9.0pt;font-family:Arial;
color:black'>SeqNo: 3<u1:p></u1:p></span></font></pre><pre style='margin-left:
24.0pt;background:white;background-image:initial;background-attachment:initial;
background-origin: initial;background-clip: initial;background-position:initial initial;
background-repeat:initial initial'><font size=1 color=black face=Arial><span
lang=EN-US style='font-size:9.0pt;font-family:Arial;color:black'>Session: 6347526623097789397<u1:p></u1:p></span></font></pre><pre
style='margin-left:24.0pt;background:white;background-image:initial;background-attachment:
initial;background-origin: initial;background-clip: initial;background-position:
initial initial;background-repeat:initial initial'><font size=1 color=black
face=Arial><span lang=EN-US style='font-size:9.0pt;font-family:Arial;
color:black'>(==> without range header)<u1:p></u1:p></span></font></pre><pre
style='margin-left:24.0pt;background:white;background-image:initial;background-attachment:
initial;background-origin: initial;background-clip: initial;background-position:
initial initial;background-repeat:initial initial'><font size=1 color=black
face=Arial><span lang=EN-US style='font-size:9.0pt;font-family:Arial;
color:black'><u1:p> </u1:p></span></font></pre><pre style='margin-left:
24.0pt;background:white;background-image:initial;background-attachment:initial;
background-origin: initial;background-clip: initial;background-position:initial initial;
background-repeat:initial initial'><font size=1 color=black face=Arial><span
lang=EN-US style='font-size:9.0pt;font-family:Arial;color:black'>...<u1:p></u1:p></span></font></pre><pre
style='margin-left:24.0pt;background:white;background-image:initial;background-attachment:
initial;background-origin: initial;background-clip: initial;background-position:
initial initial;background-repeat:initial initial'><font size=1 color=black
face=Arial><span lang=EN-US style='font-size:9.0pt;font-family:Arial;
color:black'><u1:p> </u1:p></span></font></pre><pre style='margin-left:
24.0pt;background:white;background-image:initial;background-attachment:initial;
background-origin: initial;background-clip: initial;background-position:initial initial;
background-repeat:initial initial'><font size=1 color=black face=Arial><span
lang=EN-US style='font-size:9.0pt;font-family:Arial;color:black'>PLAY <a
href="rtsp://113.31.34.14:554/work/500/115/969/967/500.3gp">rtsp://113.31.34.14:554/work/500/115/969/967/500.3gp</a> RTSP/1.0<u1:p></u1:p></span></font></pre><pre
style='margin-left:24.0pt;background:white;background-image:initial;background-attachment:
initial;background-origin: initial;background-clip: initial;background-position:
initial initial;background-repeat:initial initial'><font size=1 color=black
face=Arial><span lang=EN-US style='font-size:9.0pt;font-family:Arial;
color:black'>SeqNo: 4<u1:p></u1:p></span></font></pre><pre style='margin-left:
24.0pt;background:white;background-image:initial;background-attachment:initial;
background-origin: initial;background-clip: initial;background-position:initial initial;
background-repeat:initial initial'><font size=1 color=black face=Arial><span
lang=EN-US style='font-size:9.0pt;font-family:Arial;color:black'>Range: npt=12-100 (==> set start play point at the 12<sup>th</sup> second)<u1:p></u1:p></span></font></pre><pre
style='margin-left:24.0pt;background:white;background-image:initial;background-attachment:
initial;background-origin: initial;background-clip: initial;background-position:
initial initial;background-repeat:initial initial'><font size=1 color=black
face=Arial><span lang=EN-US style='font-size:9.0pt;font-family:Arial;
color:black'>Session: 6347526623097789397<u1:p></u1:p></span></font></pre><pre
style='margin-left:24.0pt;background:white;background-image:initial;background-attachment:
initial;background-origin: initial;background-clip: initial;background-position:
initial initial;background-repeat:initial initial'><font size=1 color=black
face=Arial><span lang=EN-US style='font-size:9.0pt;font-family:Arial;
color:black'><u1:p> </u1:p></span></font></pre><pre style='margin-left:
24.0pt;background:white;background-image:initial;background-attachment:initial;
background-origin: initial;background-clip: initial;background-position:initial initial;
background-repeat:initial initial'><font size=1 color=black face=Arial><span
lang=EN-US style='font-size:9.0pt;font-family:Arial;color:black'><u1:p> </u1:p></span></font></pre><pre
style='margin-left:24.0pt;background:white;background-image:initial;background-attachment:
initial;background-origin: initial;background-clip: initial;background-position:
initial initial;background-repeat:initial initial'><font size=1 color=black
face=Arial><span lang=EN-US style='font-size:9.0pt;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>
</blockquote>
<div>
<p class=MsoNormal style='margin-left:24.0pt'><font size=3
face="Times New Roman"><span lang=EN-US style='font-size:12.0pt'> </span></font></p>
</div>
</div>
</span>
<div>
<p class=MsoNormal style='margin-left:24.0pt'><font size=3
face="Times New Roman"><span lang=EN-US style='font-size:12.0pt'>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'.</span></font></p>
</div>
<div>
<p class=MsoNormal style='margin-left:24.0pt'><font size=3
face="Times New Roman"><span lang=EN-US style='font-size:12.0pt'> </span></font></p>
</div>
<div>
<p class=MsoNormal style='margin-left:24.0pt'><font size=3
face="Times New Roman"><span lang=EN-US style='font-size:12.0pt'>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.</span></font></p>
</div>
<div>
<p class=MsoNormal style='margin-left:24.0pt'><font size=3
face="Times New Roman"><span lang=EN-US style='font-size:12.0pt'> </span></font></p>
</div>
<p class=MsoNormal style='margin-left:24.0pt'><font size=3
face="Times New Roman"><span lang=EN-US style='font-size:12.0pt'> </span></font></p>
<span style='orphans: 2;text-align:-webkit-auto;widows: 2;-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;word-spacing:
0px'><span style='orphans: 2;text-align:-webkit-auto;widows: 2;-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;word-spacing:
0px'>
<div apple-content-edited=true>
<p class=MsoNormal style='margin-left:24.0pt'><span class=apple-style-span><font
size=4 color=black face=Helvetica><span lang=EN-US style='font-size:13.5pt;
font-family:Helvetica;color:black'>Ross Finlayson</span></font></span><font
size=4 color=black face=Helvetica><span lang=EN-US style='font-size:13.5pt;
font-family:Helvetica;color:black'><br>
<span class=apple-style-span>Live Networks, Inc.</span><br>
<span class=apple-style-span><a href="http://www.live555.com/">http://www.live555.com/</a></span></span></span></span></font><span
lang=EN-US> </span></p>
</div>
<p class=MsoNormal style='margin-left:24.0pt'><font size=3
face="Times New Roman"><span lang=EN-US style='font-size:12.0pt'> </span></font></p>
</div>
</body>
</html>