[Live-devel] Seeking in live555

Ross Finlayson finlayson at live555.com
Tue Feb 21 14:52:46 PST 2006


At 12:52 AM 2/21/2006, you wrote:
>Hi all,
>            I have downloaded the live555 tar package and compiled 
> it successfully. I am using testOnDemandRTSPServer to stream a mpeg 
> file and I am receiving it using openRTSP and it writes into file 
> audio and video separately.
>
>            It always starts recording from  the beginning till the 
> end. How to go to  a  particular  position  and start  recording 
> ,for  example, I want to record the second half of the file.
>
>            Whether RTSP Seeking is  supported in live555?

Yes - note the (optional) "start" parameter to 
"RTSPClient::playMediaSession()".  However, this is not currently set 
by "openRTSP".

>  If yes , how to enable seeking?

You could add an appropriate "start" parameter (in seconds) to the 
call to "playMediaSession()" in "testProts/openRTSP.cpp".


	Ross Finlayson
	Live Networks, Inc. (LIVE555.COM)
	<http://www.live555.com/>



More information about the live-devel mailing list