I'm trying to make a DMR call using the PJSIP library. In order to achieve this I need access to the RTP header extension and set the call type to DMR.
My problem is that in the documentations of PJSIP RTP calls pjmedia_rtp_ext_hdr is a structure of pj_uint16_t and not an array. Does anyone knows if I need to extend the pjmedia_rtp_ext_hdr structure or if there is another way to set the RTP header extension?
I've checked this questions but they are addressing the standard RTP header:
PJSIP Custom Registration Header
pjsip sip header configuration
Any help is be appreciated.