[Live-devel] Question about trick play, server side
edi87 at fibertel.com.ar
edi87 at fibertel.com.ar
Wed Dec 1 05:47:34 PST 2010
Ross,
Thanks for your reply.
I checked the code mentioned, and it works as expected.
But now I have a question... is possible to do the same (stream only N mins of file, or make an infinite loop) from the server side?
Suppose I have no control over clients and I want them to see only first 10 minutes of 30 mins from a video, without need to cut the file?
About the loop, again a way to make the server to stream a video file in a loop or not, without need to change anything on the client side?
Thanks!
----- Mensaje original -----
De: Ross Finlayson <finlayson at live555.com>
Fecha: Miércoles, Diciembre 1, 2010 1:32 am
Asunto: Re: [Live-devel] Question about trick play, server side
> >I'm new at live555, i read doxygen references and make some tests
> to
> >start understanding how it works.
> >Now i plan something to do, i think simple, I want to stream a
> video
> >file (.mpg) on demand, but with one feature... I want to specify
> the
> >duration to stream in seconds, or make it an infinite loop.
>
> This is something that the *client* requests (using the RTSP
> protocol). It does not require any special support from the
> server.
> I.e., our existing, unmodified server code can do this.
>
>
> >So, suppose I have a video of 10 mins, I want to stream on demand
> >only 1 min...
>
> This is easy to do from your RTSP client (and, as I noted above,
> without requiring any modification to server code). Note, for
> example, how the "openRTSP" demo application (a RTSP client)
> implements the "-s <initial-seek-time>" and "-d <duration>" options.
>
>
> > or make it an infinite loop, so when 10 mins are streamed to a
> >client, it must restart from 0 again.
>
> Again, this is easy to do - from the client. Note, for example,
> how
> "openRTSP" implements the "-c" option.
>
> See <http://www.live555.com/openRTSP/>, and the "openRTSP" source
> code (in "testProgs/playCommon.cpp").
> --
>
> Ross Finlayson
> Live Networks, Inc.
> http://www.live555.com/
> _______________________________________________
> live-devel mailing list
> live-devel at lists.live555.com
> http://lists.live555.com/mailman/listinfo/live-devel
>
More information about the live-devel
mailing list