Hi, I am writing a transport adapter that needs to do some special handling of the RTP stream. In particular, it needs to both inject RTP packets into the outgoing stream as well as hide incoming packets from the media stream. These packets are standard RTP packets with a special payload type. Since these are normal RTP packets, they are be sequenced together with the other RTP audio/DTMF packets. To handle the sequence numbers and timestamps correctly, I really need access to the RTP session structs of pjmedia_stream. This minimal patch adds a function that returns the RTP sessions of a pjmedia_stream so that transports can correctly handle the RTP stream more intelligently. I welcome feedback on this patch. I really don't see any other way to do this sensibly from a transport adapter. Best regards, Kal
Attachment:
0001-pjmedia-Add-function-pjmedia_stream_get_rtp_sessions.patch
Description: Binary data
_______________________________________________ Visit our blog: http://blog.pjsip.org pjsip mailing list pjsip@xxxxxxxxxxxxxxx http://lists.pjsip.org/mailman/listinfo/pjsip_lists.pjsip.org