Thanks simon,
but "codec->GetMediaFormat().GetBandwidth()" does not give the bandwidth as specified in TCS from remote end. it gives the bandwidth specified in plugin. for example i initialized my max bandwidth to 512kbps but remote only supports 256kbps. then "codec->GetMediaFormat().GetBandwidth()" gives me 512kbps and not 256kbps. i did play with code and "codec->GetMediaFormat().GetOptionInteger(OpalVideoFormat::MaxBitRateOption,0)" did give me the desired result for video codecs.
regards,
On Tue, Aug 26, 2014 at 6:25 PM, Simon Horne s.horne@spranto.com wrote:
In H323_ExternalRTPChannel call
codec->GetMediaFormat().GetBandwidth()
I hope that helps
Simon
*From:* h323plus-bounces@lists.packetizer.com [mailto: h323plus-bounces@lists.packetizer.com] *On Behalf Of *Ankur Deep Jaiswal *Sent:* Monday, August 25, 2014 8:26 PM *To:* h323plus@lists.packetizer.com *Subject:* [h323plus] maxBitrate in External RTP
Hi,
I have a doubt, How do you get Max-Bitrate supported by a Capability in H323_ExternalRTPChannel.
Help appreciated.
-- Ankur Deep Jaiswal