bw_in is (server to client) or (client to server)?
Hi all,
The Adobe live docs say that on call to getStats() an object is returned with bw_in and bw_out
bw_out | Current upstream (client to server) bandwidth for this client. |
bw_in | Current downstream (server to client) bandwidth for this client. |
My application is sending audio to server and there is only 1 connection attached following is the results of getStats():
stats.client_id = 5216658701766707524
stats.bytes_in = 6121325
stats.bytes_out = 3627275
stats.msg_in = 30106
stats.msg_out = 701
stats.msg_dropped = 0
stats.ping_rtt = 1
stats.audio_queue_msgs = 0
stats.video_queue_msgs = 0
stats.data_queue_msgs = 0
stats.dropped_audio_msgs = 0
stats.so_queue_msgs = 0
stats.dropped_video_msgs = 0
stats.audio_queue_bytes = 0
stats.video_queue_bytes = 0
stats.data_queue_bytes = 0
stats.dropped_audio_bytes = 0
stats.dropped_video_bytes = 0
stats.bw_out = 78
stats.bw_in = 4057
stats.so_queue_bytes = 0
How could bw_in(server to client) be 4057, because in my case the client is only sending audio to Server so it should be client to server i.e bw_out value that should be more.
Regards
Sahil
