Steven Gong wrote:
>Naniela,
>Have you tried to change the overallBandwidth settings to see if the value 
>actually takes effect?

Yes, I tried.
Have you seen the code that I wrote? is it correct?

sbc.setOverallBandwidth((1024 * 1024)/32);


On 12/28/06, Daniela Remogna < [EMAIL PROTECTED]> wrote:
  Hi :-)

  Today my problem is to limit client bandwidth at 32 kb/sec (it's so low for 
testing). 

  I wrote this code:

  public boolean appConnect(IConnection conn, Object[] params) {
     measureBandwidth(conn);
    if (conn instanceof IStreamCapableConnection) {
         IStreamCapableConnection streamConn = (IStreamCapableConnection) conn; 
         SimpleBandwidthConfigure sbc = new SimpleBandwidthConfigure();
         sbc.setMaxBurst(8 * 1024 * 1024);
         sbc.setBurst(8 * 1024 * 1024);
         sbc.setOverallBandwidth((1024 * 1024)/32);
     streamConn.setBandwidthConfigure (sbc);
    }

    return super.appConnect(conn, params);
  }

  but I continue to receive video at 300kb/sec....
  what's wrong?

  Thanks in advance,
  Daniela Remogna


  _______________________________________________ 
  Red5 mailing list
  [email protected]
  http://osflash.org/mailman/listinfo/red5_osflash.org




-- 
I cannot tell why this heart languishes in silence. It is for small needs it 
never asks, or knows or remembers.  -- Tagore

Best Regards
Steven Gong 


--------------------------------------------------------------------------------


_______________________________________________
Red5 mailing list
[email protected]
http://osflash.org/mailman/listinfo/red5_osflash.org
_______________________________________________
Red5 mailing list
[email protected]
http://osflash.org/mailman/listinfo/red5_osflash.org

Reply via email to