[Live-devel] testOnDemandRTSPServer always stream audio/MPA and video/MPV?
edi87 at fibertel.com.ar
edi87 at fibertel.com.ar
Thu Feb 3 06:34:57 PST 2011
I see...
I would need to add support for that also I think it should not be too difficult, if I'm not wrong, MPEG4 video duration and trick play support should be too similar to MPEG1or2.
I'm not sure about ADTS, but I would need to play with them...
I will keep you updated about it.
Thanks for your help Ross!
----- Mensaje original -----
De: Ross Finlayson <finlayson at live555.com>
Fecha: Jueves, Febrero 3, 2011 3:56 am
Asunto: Re: [Live-devel] testOnDemandRTSPServer always stream audio/MPA and video/MPV?
> >When progress >= duration I do a 'loop' on the stream, something
> >like (sorry i dont have the code here):
> >
> >pauseStream
> >seekStream (to the abs byte 0)
> >startPlaying
> >
> >That work fine when I stream a MPEG1or2* file, but when I stream
> >using the way I just mentioned (MPEG4 + ADTS), it does not work.
> >
> >Do you have any idea about why this happen?
>
> Yes - it's because we don't support server 'trick play' operations
> (which include 'seek') on these media types.
>
> See:
> http://www.live555.com/liveMedia/faq.html#trick-mode
> http://www.live555.com/mediaServer/#trick-play
>
> This is also why the "duration()" virtual function has not been
> implemented for these "*ServerMediaSubsession" classes (because,
> for
> example, we can't know the duration of a MPEG-4 video file unless
> we
> were to scan all the way through it).
> --
>
> 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