[Live-devel] Sending periodic metadata XML fragments-- should I use SimpleRTPSource or modify MediaSession?
Dave McMordie
mcmordie at gmail.com
Thu Aug 11 08:08:21 PDT 2011
Hi Ross / Live Developers,
Great library-- it was a pleasure to integrate! We are transmitting a
sequence of uncorrelated image frames using a subclass of JPEGVideoSource.
We would also like to transmit a stream of XML fragments (one-to-one with
the video frames) which contain information about each frame.
What I have understood so far from previous threads is that I can create a
custom payload format using subclasses of MultiFramedSource /
MultiFramedSync. I would then modify the MediaSession::initiate method to
add explicit support for this payload format. On the server side, I also
create a new MediaSubsession containing the source/sink and add it to my
MediaSession.
It seems like modifying the liveMedia source to add our application-specific
format would be a little inelegant. Is this really the best option, or do
you have existing payload formats which could be subclassed to provide a
container for a generic data stream?
For example, would it be possible to use subclasses of SimpleRTPSource/Sink
to send the raw stream?
If the former option is preferable, is there a way to do this without
modifying liveMedia, or should I just jump right in?
Thanks again for your hard work and for making this code available.
Best,
Dave McMordie
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.live555.com/pipermail/live-devel/attachments/20110811/edc491d2/attachment.html>
More information about the live-devel
mailing list