<br>Hi,<div> I have check the RTSP messages, there is no timeout value in SETUP response. see it below:</div><div><br></div><div><br></div><div><font class="Apple-style-span" face="arial, sans-serif"><div><span class="Apple-style-span" style="border-collapse: collapse;">SETUP rtsp://<a href="http://159.99.249.146/h264/track1">159.99.249.146/h264/track1</a> RTSP/1.0</span></div>
<div><span class="Apple-style-span" style="border-collapse: collapse;"><br></span></div><div><span class="Apple-style-span" style="border-collapse: collapse;">CSeq: 4</span></div><div><span class="Apple-style-span" style="border-collapse: collapse;"><br>
</span></div><div><span class="Apple-style-span" style="border-collapse: collapse;">User-Agent: LibVLC/1.1.9 (LIVE555 Streaming Media v2011.01.06)</span></div><div><span class="Apple-style-span" style="border-collapse: collapse;"><br>
</span></div><div><span class="Apple-style-span" style="border-collapse: collapse;">Transport: RTP/AVP/TCP;unicast;interleaved=0-1</span></div><div><span class="Apple-style-span" style="border-collapse: collapse;"><br></span></div>
<div><span class="Apple-style-span" style="border-collapse: collapse;"><br></span></div><div><span class="Apple-style-span" style="border-collapse: collapse;"><br></span></div><div><span class="Apple-style-span" style="border-collapse: collapse;">RTSP/1.0 200 OK</span></div>
<div><span class="Apple-style-span" style="border-collapse: collapse;"><br></span></div><div><span class="Apple-style-span" style="border-collapse: collapse;">CSeq: 4</span></div><div><span class="Apple-style-span" style="border-collapse: collapse;"><br>
</span></div><div><span class="Apple-style-span" style="border-collapse: collapse;">Date: Fri, Jan 02 1970 08:02:05 GMT</span></div><div><span class="Apple-style-span" style="border-collapse: collapse;"><br></span></div><div>
<span class="Apple-style-span" style="border-collapse: collapse;">Transport: RTP/AVP/TCP;unicast;destination=159.99.249.118;source=159.99.249.146;interleaved=0-1</span></div><div><span class="Apple-style-span" style="border-collapse: collapse;"><br>
</span></div><div><span class="Apple-style-span" style="border-collapse: collapse;"><br></span></div><div><span class="Apple-style-span" style="border-collapse: collapse;">By the way, the VLC version is 1.1.9.</span></div>
<div><span class="Apple-style-span" style="border-collapse: collapse;"><br></span></div><div><span class="Apple-style-span" style="border-collapse: collapse;"><br></span></div><div><span class="Apple-style-span" style="border-collapse: collapse;"><br>
</span></div><div><span class="Apple-style-span" style="border-collapse: collapse;">Session: 2</span></div></font><div class="gmail_quote">On Thu, Jun 9, 2011 at 6:51 PM, Glen Gray <span dir="ltr"><<a href="mailto:slaine@slaine.org">slaine@slaine.org</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;"><div><div></div><div class="h5">On 9 Jun 2011, at 03:31, chenhui zhang wrote:<br>
<br>
> Hi all,<br>
> I'm testing our device as a media server and use VLC as the client. When in RTP over TCP mode, vlc can't play the stream. I capture the tcp packet,<br>
><br>
> found that the rtsp is OK and when send the media data to vlc over rtsp, it seems vlc doesn't recv the data because the TCP windows size of vlc side is down<br>
><br>
> to zero and never recover. I also found there is a GET_PARAMETERS message from vlc to device and device reply an empty response after the PLAY method.<br>
><br>
> When I remove the GET_PARAMETERS from the OPTION response of device and try again, it's OK. So I doubt the problem has relations to GET_PARAMETERS.<br>
><br>
> I have search this on Google and there are some information about this but no clearly answer of it. VLC used GET_PARAMETERS as a ping to device, but when I<br>
><br>
> send GET_PARAMETERS response to vlc, why it still can't play?<br>
<br>
</div></div>The GET_PARAMETERS should only trigger if the RTSP SETUP response includes a timeout value. If a timeout is there, VLC will send an empty GET_PARAMETERS message as a keep alive method for the stream. Say for example you paused the stream for > timeout, you don't want the session torn down. There are other methods for doing keep alive, like RTCP "RR" messages.<br>
<br>
--<br>
Glen Gray<br>
<<a href="mailto:slaine@slaine.org">slaine@slaine.org</a>><br>
<br>
<br>
<br>
<br>
_______________________________________________<br>
vlc-devel mailing list<br>
To unsubscribe or modify your subscription options:<br>
<a href="http://mailman.videolan.org/listinfo/vlc-devel" target="_blank">http://mailman.videolan.org/listinfo/vlc-devel</a><br>
</blockquote></div><br></div>