<div dir="ltr">Simon<br><br>I overrided this function <blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">OnSetInitialBandwidth(H323VideoCodec * codec)</blockquote>
<div>and called an api codec->setmaxbitrate(n * 1024) but this function is returning false. <br><br>and on OnRTPStatistics(.......................<br>I am calculating Video Rate as<br>VdRate = (session.GetOctetsReceived() * 1.024 * 8)/elapsedTime;<br>
<br>I still can not control bitrate.<br>Is there any change in plugins ?<br><br>Alam<br></div><br><br><br><div class="gmail_quote">On Thu, Jul 17, 2008 at 8:56 AM, Simon Horne <<a href="mailto:s.horne@packetizer.com">s.horne@packetizer.com</a>> wrote:<br>
<blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">Alam<br>
<br>
Sorry for the delay in replying. yes there are some changes.<br>
There is a new function.<br>
<br>
void H323EndPoint::OnSetInitialBandwidth(H323VideoCodec * codec)<br>
<br>
This is called before the OpenVideoChannel. This is where you can set the<br>
codec MaxBitRate. This also allows you to correctly advertise bandwidth to<br>
the remote party.<br>
<font color="#888888"><br>
Simon<br>
</font><div><div></div><div class="Wj3C7c"><br>
<br>
<br>
-----Original Message-----<br>
From: <a href="mailto:h323plus-bounces@lists.packetizer.com">h323plus-bounces@lists.packetizer.com</a><br>
[mailto:<a href="mailto:h323plus-bounces@lists.packetizer.com">h323plus-bounces@lists.packetizer.com</a>]On Behalf Of mohammad alam<br>
Sent: Monday, 14 July 2008 4:41 PM<br>
To: H323plus<br>
Subject: [h323plus] SetMaxBitRate Problem<br>
<br>
<br>
Simon<br>
<br>
I am using SetMaxBitRate in my code to control data flow in Network. I am<br>
using<br>
codec.SetMaxBitRate(1024 * x); in OpenVideoChannel(......................<br>
Earlier when I  was using Openh323 it was functional.<br>
Now I cant control codec BitRate through this API.<br>
Do I have to make any changes in Plugins.??<br>
<br>
Alam<br>
<br>
</div></div></blockquote></div><br></div>