Benny Prijono wrote: > On Tue, Feb 9, 2010 at 11:40 AM, Klaus Darilion > <klaus.mailinglists at pernau.at> wrote: >> Hi! >> >> Is it possible from within pjsua-lib to send/receive custom RTCP packets? >> >> If not, where do I have to extend pjsip to enable such a feature? >> > > The proper way is to create a media transport adapter and register it > to PJSUA-LIB, see transport_adapter_sample() in pjsua_app.c. > > There is a simpler hack with including pjsua_internal.h, then retrieve > the media transport instance for the call and send RTCP packet with > it, but this works with sending only. Hi Benny! Thanks for the info. Re-thinging my question I found out the actually I do not need "custom" RTCP packets, but the already defined "Application-Defined" RTCP Packet: http://tools.ietf.org/html/rfc3550#section-6.7 Maybe this one is already supported? If not, you might consider adding it to the wish list :-) thanks klaus