[streaming] Re: Pausing a stream

Dermot McGahon dermot at dspsrv.com
Thu Sep 2 13:02:29 CEST 2004


On Thu, 02 Sep 2004 12:02:10 +0200, Hussain Ali Pardawalla  
<hussain at mytum.de> wrote:

> Hello. I wanted to add the pause functionality in VLC, while its  
> streaming from an RTSP server, (i.e. Darwin or the lice.com's  
> testOnDemandRTSPServer test program). I have been going through the VLC  
> code for about a day now, and I am at a complete lost. I can't even  
> figure out which parts of the code to consider. Can anyone please help  
> me get started on this? Or am I asking this question on the wrong  
> listserv?
>
> I am using the VLC 0.7.2 version code, and have suse 9.1 OS.

Hussain,

Look at "LIVE.COM" RTSPClient.cpp and modules/demux/livedotcom.cpp
in vlc. On some servers, RTSP PAUSE is basically a STOP command, so
you may have to keep track of where in the stream you were, and
use this in a subsequent RTSP PLAY command to unpause the stream.



Dermot.
--

-- 
This is the streaming mailing-list, see http://www.videolan.org/streaming/
To unsubscribe, please read http://www.videolan.org/support/lists.html



More information about the streaming mailing list