RTP Header extension

L
Lele
Tue, Feb 7, 2017 1:42 PM

Hi guys,
I'm working on a simple application using PJSIP. I need to use the
"extension header" of RTP
(http://www.pjsip.org/pjmedia/docs/html/structpjmedia__rtp__ext__hdr.htm).
It seems that it's possible to access the extension header from an incoming
RTP packet (in the decode function pjmedia_rtp_decode_rtp) but I didn't find
a way to include an extension header in a RTP packet that I want to send,
during established session.

Is possible to send an RTP packet with an extension header with PJSIP, and
if not where would be the best place to implement the necessary changes?
There are some high-level functions that implement this feature (for example
in PJSUA)?

Thanks in advance

Best Regards
Ll

Hi guys, I'm working on a simple application using PJSIP. I need to use the "extension header" of RTP (http://www.pjsip.org/pjmedia/docs/html/structpjmedia__rtp__ext__hdr.htm). It seems that it's possible to access the extension header from an incoming RTP packet (in the decode function pjmedia_rtp_decode_rtp) but I didn't find a way to include an extension header in a RTP packet that I want to send, during established session. Is possible to send an RTP packet with an extension header with PJSIP, and if not where would be the best place to implement the necessary changes? There are some high-level functions that implement this feature (for example in PJSUA)? Thanks in advance Best Regards Ll
Лухнов Андрей Олегович
Mon, Feb 13, 2017 5:24 PM

Hi, Lele!

Transport adapter is the thing you're looking for! https://trac.pjsip.org/repos/wiki/Media_Transport_Adapter

От: "Lele" 86eldnl@gmail.com
Кому: "pjsip" pjsip@lists.pjsip.org
Отправленные: Вторник, 7 Февраль 2017 г 16:42:30
Тема: [pjsip] RTP Header extension

Hi guys,
I'm working on a simple application using PJSIP. I need to use the "extension header" of RTP ( http://www.pjsip.org/pjmedia/docs/html/structpjmedia__rtp__ext__hdr.htm ).
It seems that it's possible to access the extension header from an incoming RTP packet (in the decode function pjmedia_rtp_decode_rtp) but I didn't find a way to include an extension header in a RTP packet that I want to send, during established session.
Is possible to send an RTP packet with an extension header with PJSIP, and if not where would be the best place to implement the necessary changes? There are some high-level functions that implement this feature (for example in PJSUA)?
Thanks in advance
Best Regards
Ll


Visit our blog: http://blog.pjsip.org

pjsip mailing list
pjsip@lists.pjsip.org
http://lists.pjsip.org/mailman/listinfo/pjsip_lists.pjsip.org

Hi, Lele! Transport adapter is the thing you're looking for! https://trac.pjsip.org/repos/wiki/Media_Transport_Adapter От: "Lele" <86eldnl@gmail.com> Кому: "pjsip" <pjsip@lists.pjsip.org> Отправленные: Вторник, 7 Февраль 2017 г 16:42:30 Тема: [pjsip] RTP Header extension Hi guys, I'm working on a simple application using PJSIP. I need to use the "extension header" of RTP ( http://www.pjsip.org/pjmedia/docs/html/structpjmedia__rtp__ext__hdr.htm ). It seems that it's possible to access the extension header from an incoming RTP packet (in the decode function pjmedia_rtp_decode_rtp) but I didn't find a way to include an extension header in a RTP packet that I want to send, during established session. Is possible to send an RTP packet with an extension header with PJSIP, and if not where would be the best place to implement the necessary changes? There are some high-level functions that implement this feature (for example in PJSUA)? Thanks in advance Best Regards Ll _______________________________________________ Visit our blog: http://blog.pjsip.org pjsip mailing list pjsip@lists.pjsip.org http://lists.pjsip.org/mailman/listinfo/pjsip_lists.pjsip.org