Hi, If you are using stream, then you can use pjmedia_stream_get_stat(), you will get a 'compiled RTCP' data though. To 'sniff' the raw RTCP packets, you can use pjmedia transport adapter. If your media proxy deal with raw RTP/RTCP packets and doesn't want audio transcoding, perhaps you better use pjmedia transport directly, instead of stream. Regards, nanang On Fri, Jan 30, 2009 at 2:01 AM, manjeet soodan <manjeetss1 at yahoo.com> wrote: > Hi, > > I am using two streams (pjmedia_streams) to encode/decode RTP + translating > RTCP between two servers. > > Question:- how will i receive the RTCP msgs? Can pjmedia_port_get_frame() > and pjmedia_port_put_frame() also be used to receive/send RTCP messages via > streams. > > Or is there some other way to send/recv RTCP msgs when using streams? > > Thanks > Manjeet > > > > > _______________________________________________ > Visit our blog: http://blog.pjsip.org > > pjsip mailing list > pjsip at lists.pjsip.org > http://lists.pjsip.org/mailman/listinfo/pjsip_lists.pjsip.org > >