Hello guys,
I have some problems with getting right bandwidth in EDGE -> ORIGIN configuration.
I use the code to get read bytes, something like:
===
private long getReadBytes() {
IConnection connection = Server.getConnectionLocal();
if( connection instanceof IStreamCapableConnection ) {
IStreamCapableConnection stream = (IStreamCapableConnection) connection;
return stream.getReadBytes();
}
return 0;
}
===
This code works properly if I use same server. But when I use edge -> origin
configuration this code ALWAYS returns 0....
What must I change? Or is there another way to determinate read bytes?
Thanks,
Dan
_______________________________________________
Red5 mailing list
Red5@...
http://osflash.org/mailman/listinfo/red5_osflash.org