[h323plus] SetMaxBitRate Problem

mohammad alam cheersalam at gmail.com
Fri Jul 25 02:27:52 EDT 2008


Simon

I overrided this function
>
> OnSetInitialBandwidth(H323VideoCodec * codec)

and called an api codec->setmaxbitrate(n * 1024) but this function is
returning false.

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 ?

Alam



On Thu, Jul 17, 2008 at 8:56 AM, Simon Horne <s.horne at packetizer.com> wrote:

> Alam
>
> 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.
>
> Simon
>
>
>
> -----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
>
>
> Simon
>
> I am using SetMaxBitRate in my code to control data flow in Network. I am
> using
> 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.??
>
> Alam
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.packetizer.com/pipermail/h323plus/attachments/20080725/0a0d07fb/attachment-0004.html>


More information about the h323plus mailing list