I am trying to test using setMaxOutgoingBitrate method in weak network
However, the result is as follows.
mediasoup version: 3.10.12
producer : 3Mbps video
consumer : max outgoing bitrate 1Mbps
but, consumer received bytes 3Mbps and video play is well
mediasoup:Channel [pid:1772781] RTC::Transport::HandleRequest() | enabling TransportCongestionControlClient with transport-cc
transport bwe log is here.
I was expected traffic is down, but not.
As I use this, what results can I get?
There’s incoming and outgoing rates; you would generally set them equal. For Audio it doesn’t matter. The results are up to you and expected clarity. 200,000 - 500,000 is VERY generous, you can offer higher but that multiplied is extensive on many networks.
I know 1Mbps is big size.
But, My testcase is 10 people participated. ( video / audio about 300Kbps )
This is a test that simulates when one consumer network bandwidth is low.
In this case, I’m trying to figure out how to respond technically.
You don’t respond, the thing is if the user drops to low in bitrate whether you had SVC/Simulcast that would congest the network of the user and in this situation where they’re trying to catch up and their network is driving at 100% they would eventually fail to ping server and timeout.
Ping is about 1-2KB response so if they’re lagging and can’t ping, not your issue it’s them but do always make sure your server network is of quality not just in Canada or USA, but every HOP in the trace route must be near perfect.