[Live-devel] saving or rebroadcasting incoming RTP A/V stream as MPEG-2 transport stream
Ross Finlayson
finlayson at live555.com
Sat Apr 13 12:08:15 PDT 2013
> I saw various source files (e.g. MPEG2TransportStreamMultiplexor.cpp) muxing into MPEG-2 TS.
> Is there a way a save and/or rebroadcast incoming RTP streams as MPEG-2 TS with the given code.
Yes, provided, of course, that the codec(s) used by the incoming RTP stream(s) are ones that can be carried within MPEG Transport Streams.
You can do this by creating a "MPEG2TransportStreamFromESSource" object. Then, on this object, call "addNewVideoSource()" and/or "addNewAudioSource()", from the corresponding "MediaSubsession::readSource()". You can then feed the "MPEG2TransportStreamFromESSource" object into a "FileSink".
Ross Finlayson
Live Networks, Inc.
http://www.live555.com/
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.live555.com/pipermail/live-devel/attachments/20130413/1d80d60a/attachment.html>
More information about the live-devel
mailing list