[vlc-devel] input.c DEMUX_SET_POSITION and RTSP

Ross Finlayson finlayson at live555.com
Thu Aug 27 22:49:09 CEST 2009


>Quoting Rémi Denis-Courmont <remi at remlab.net>:
>
>>  As far as I know, set_position does not change the pause state. The input
>>  behavior is correct, and live555's is not.
>
>There is a conflict with RTSP, because the seek 
>command is sent with a PLAY and
>a range. And it resumes the stream.

Yes.  There's no 'seek' command in RTSP; instead, 
seeking is done as part of "PLAY".

>
>One solution could be to :
>store the position sent with DEMUX_SET_POSITION if we are paused.
>And send this position with the play when we want to unpause.

That seems reasonable to me.
-- 

Ross Finlayson
Live Networks, Inc.
http://www.live555.com/



More information about the vlc-devel mailing list