[pjsip] Problem with RTCP msgs using streams
Nanang Izzuddin
nanang at pjsip.org
Mon Feb 2 13:35:20 EST 2009
Hi Manjeet,
Yes, currently pjmedia stream won't handle (parse/generate) the
'customized' part of RTCP, so I think you can't use pjmedia stream in
this case.
Regards,
nanang
On Mon, Feb 2, 2009 at 5:10 PM, manjeet soodan <manjeetss1 at yahoo.com> wrote:
> Hi Nanang,
>
> pjmedia_stream_get_stat() is used to get the encoder/decoder statistics.
>
> But i am still not able to find out from the PJMedia code, how to get the
> RTCP APP (TBCP)
> messages using streams.
>
> Without streams i think we can directly get the incoming RTCP packet from
> the on_rx_rtcp() callback function, BUT using "streams" how can we do that?
>
> Thanks n regards,
> Manjeet
>
>
>
>
>
> --- On Fri, 1/30/09, Nanang Izzuddin <nanang at pjsip.org> wrote:
>
> From: Nanang Izzuddin <nanang at pjsip.org>
> Subject: Re: [pjsip] Problem with RTCP msgs using streams
> To: "pjsip list" <pjsip at lists.pjsip.org>
> Date: Friday, January 30, 2009, 2:42 AM
>
> 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
>>
>>
>
> _______________________________________________
> 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
>
>
More information about the pjsip
mailing list