[Live-devel] How to transfer a new RTP Payload type.

Ross Finlayson finlayson at live555.com
Wed Jul 29 08:24:54 PDT 2009


>3. My query is how can I receive that new type of metadata payload.Below is
>the method you sent me :
>
>>>You would need to define and implement two new classes:
>
>>>1/ A new subclass of "MultiFramedRTPSink", for sending RTP packets in
>>>the new payload format.
>>>2/ A new subclass of "MultiFramedRTPSource", for receiving RTP
>  >>packets in the new payload format.


Sorry, I forgot to mention a 3rd thing that you need to do:
3/ Modify "MediaSubsession::initiate()" so that it recognizes the SDP 
description for your payload type, and creates an appropriate 
"RTPSource" subclass.  For an example of how to do this, search for 
"H264" in "liveMedia/MediaSession.cpp".

-- 

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


More information about the live-devel mailing list