[Live-devel] Why does Live555 separate the MPEG2PS stream to two streams while streaming?

Ross Finlayson finlayson at live555.com
Mon Dec 11 01:31:50 PST 2006


>  > >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.
-- 

Ross Finlayson
Live Networks, Inc.
http://www.live555.com/


More information about the live-devel mailing list