[vlc-devel] Help about GET_PARAMETERS
zhangchenhui2006 at gmail.com
Thu Jun 9 13:29:43 CEST 2011
I have check the RTSP messages, there is no timeout value in SETUP
response. see it below:
SETUP rtsp://126.96.36.199/h264/track1 RTSP/1.0
User-Agent: LibVLC/1.1.9 (LIVE555 Streaming Media v2011.01.06)
RTSP/1.0 200 OK
Date: Fri, Jan 02 1970 08:02:05 GMT
By the way, the VLC version is 1.1.9.
On Thu, Jun 9, 2011 at 6:51 PM, Glen Gray <slaine at slaine.org> wrote:
> On 9 Jun 2011, at 03:31, chenhui zhang wrote:
> > Hi all,
> > 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,
> > 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
> > 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.
> > 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.
> > 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
> > send GET_PARAMETERS response to vlc, why it still can't play?
> 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.
> Glen Gray
> <slaine at slaine.org>
> vlc-devel mailing list
> To unsubscribe or modify your subscription options:
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the vlc-devel