[Live-devel] Why does Live555 separate the MPEG2PS stream to two streams while streaming?
Sean
yunjnz at yahoo.com
Mon Dec 11 17:03:30 PST 2006
--- Ross Finlayson <finlayson at live555.com> wrote:
> > > >is it possible for streaming the MPEG2PS
> >> stream(with
> >> >audio and video) in one stream?
> >>
> >> This is possible in principle, using the
> >> "video/MP2P" RTP payload
> >
> >Can you give me some more detail about how to
> >implement this feature? how to use the "video/MP2P"
> >RTP payload format?
>
> Yes - create a "ByteStreamFileSource" for your input
> file, and then
> feed it to a "SimpleRTPSink", which you create using
> SimpleRTPSink::createNew(envir(), rtpGroupsock,
> 96, 90000,
> "video", "MP2P",
> 1, True, False /*no 'M' bit*/);
>
>
> >does I need to add a class similar to
> >MPEG2TransportFileServerMediaSubsession
>
> Yes.
Thanks for your help. I added a class similar to
MPEG2TransportFileServerMediaSubsession and another
class similar to MPEG2TransportStreamFramer, and just
modified the createNewRTPSink function.
and also modified the createNewStreamSource function
to the new streamframer class,
in that class,
I simply removed the transport stream related code,
such as the sync byte and duration estimate part,
it seems that the client--openRTSP works good on PC
(Windows), but can't work on Embedded linux, there are
a lot of packets are lost.
can you give me some help for this problem?
Thanks a lot.
> --
>
> 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
>
____________________________________________________________________________________
Any questions? Get answers on any topic at www.Answers.yahoo.com. Try it now.
More information about the live-devel
mailing list