[h323plus] SetMaxBitRate Problem
cheersalam at gmail.com
Fri Jul 25 02:27:52 EDT 2008
I overrided this function
> OnSetInitialBandwidth(H323VideoCodec * codec)
and called an api codec->setmaxbitrate(n * 1024) but this function is
and on OnRTPStatistics(.......................
I am calculating Video Rate as
VdRate = (session.GetOctetsReceived() * 1.024 * 8)/elapsedTime;
I still can not control bitrate.
Is there any change in plugins ?
On Thu, Jul 17, 2008 at 8:56 AM, Simon Horne <s.horne at packetizer.com> wrote:
> Sorry for the delay in replying. yes there are some changes.
> There is a new function.
> void H323EndPoint::OnSetInitialBandwidth(H323VideoCodec * codec)
> This is called before the OpenVideoChannel. This is where you can set the
> codec MaxBitRate. This also allows you to correctly advertise bandwidth to
> the remote party.
> -----Original Message-----
> From: h323plus-bounces at lists.packetizer.com
> [mailto:h323plus-bounces at lists.packetizer.com]On Behalf Of mohammad alam
> Sent: Monday, 14 July 2008 4:41 PM
> To: H323plus
> Subject: [h323plus] SetMaxBitRate Problem
> I am using SetMaxBitRate in my code to control data flow in Network. I am
> codec.SetMaxBitRate(1024 * x); in OpenVideoChannel(......................
> Earlier when I was using Openh323 it was functional.
> Now I cant control codec BitRate through this API.
> Do I have to make any changes in Plugins.??
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the h323plus