Hi all,

It is not the same issue but it's so near to the Alexey one. I am new at 
streaming world, I am just trying to implement a real time audio chat, 
and I have some questions about red5 and bandwidth configuration.

For my application I use Live streaming , and testing for the bandwidth 
I realize that every single client consumes 2KB/s when only one person 
is talking. When 2 person are talking the bandwidth is increased to 5, 
with 3 to 8 and so on.

And now the question, is there an easy way to control the bandwith of 
every single connection? I tried reducing upStream and changing 
connection BandWidthConfig with these parameters:

            IStreamCapableConnection streamConn = 
(IStreamCapableConnection) connection;
            SimpleConnectionBWConfig bwConfig = new 
SimpleConnectionBWConfig();
            bwConfig.setUpstreamBandwidth(8 * 2 * 1024);
            
bwConfig.getChannelBandwidth()[IBandwidthConfigure.OVERALL_CHANNEL] = 
1024 * 1024;
            
bwConfig.getChannelInitialBurst()[IBandwidthConfigure.OVERALL_CHANNEL] = -1;
            
bwConfig.getChannelBandwidth()[IBandwidthConfigure.AUDIO_CHANNEL] = 128 
* 1024;
            streamConn.setBandwidthConfigure(bwConfig);
            streamConn.initialize(streamConn.getClient());

The code is executed in appConnect method and the only line that seems 
to has effect is the
upStreamBandWidth property. If a reduce it to 8 * 1024, the only 1Kb/s 
is consumed, but I can hear nothing.

Thank you in advance.
Regards.

-- 
José Antonio Sánchez Sánchez
Praint Media Group
www.praint.com
Tel.: (+34) 902 500 774 


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

Reply via email to