<!doctype html public "-//W3C//DTD W3 HTML//EN">
<html><head><style type="text/css"><!--
blockquote, dl, ul, ol, li { padding-top: 0 ; padding-bottom: 0 }
--></style><title>Re: [Live-devel] Implement RTSP skip forward in
mediaServe</title></head><body>
<blockquote type="cite" cite>Seems like there is an option in RTSP to
specify a range in time that you want to start your
stream.</blockquote>
<div><br></div>
<div>Yes, and we support it, for both RTSP clients and RTSP
servers.</div>
<div><br></div>
<div>For RTSP clients: Note the "start" and "end"
parameters to "RTSPClient:: playMediaSession()" and
"RTSPClient:: playMediaSubsession()". These parameters
(if set to non-default values) tell the RTSP client to request a
specific time range.</div>
<div><br></div>
<div>For RTSP servers: Our RTSP server implementation (including its
use in the "LIVE555 Media Server" product) supports these
requests, ***provided that*** the underlying file type can handle
them. In our current implementation, the following file types
support this:</div>
<div>- MP3 audio files</div>
<div>- MPEG-1or 2 audio/video Program Stream files (but not
reliably)</div>
<div>- MPEG Transport Stream files (provided that they each have an
'index file'; see the documentation)</div>
<div>- WAV audio files</div>
<div><br></div>
<div>For other file types (including MPEG-4 video files), our
implementation currently does *not* support seeking.</div>
<div><br></div>
<blockquote type="cite" cite><a
href="http://www.myiptv.org/Articles/RTSP/tabid/72/Default.aspx"
>http://www.myiptv.org/Articles/RTSP/tabid/72/Default.aspx</a><br>
"The important bits of this command are Range and Scale. See I
said you would want to know the range. Range specifies from where and
how much of the content to play. 0- tells the server to start at the
beginning and play to the end but you could also start anywhere in the
file as we'll see in a minute or only play the first 5 minutes of
the content. It's up to you."</blockquote>
<div><br></div>
<div>You don't have to worry about the details of the RTSP protocol;
we implement all of this for you. Just use our "RTSPClient"
class, and pass the appropriate parameters (as noted above).</div>
<x-sigsep><pre>--
</pre></x-sigsep>
<div><br>
Ross Finlayson<br>
Live Networks, Inc.<br>
http://www.live555.com/</div>
</body>
</html>