How can I disable the congestion control algorithm ?

1,120 views
Skip to first unread message

ftv dev

unread,
Jan 13, 2014, 3:30:43 PM1/13/14
to discuss...@googlegroups.com
I am doing some QoS tests and I would like to disable rate adaptation for congestion control mechanism within webrtc. Is that possible ?

Justin Uberti

unread,
Jan 13, 2014, 8:17:37 PM1/13/14
to discuss...@googlegroups.com
This is not supported at this time, as disabling this would allow applications to send arbitrary amounts of data onto the network.

We might add a flag or webrtc-internals option in the future to allow doing this in test environments.

ftv dev

unread,
Jan 14, 2014, 4:03:44 PM1/14/14
to discuss...@googlegroups.com
Thank you for your response. Do you have any idea about the difficulty and the needed time to disable it from the source code ?

grgk...@gmail.com

unread,
Jan 21, 2014, 3:34:00 PM1/21/14
to discuss...@googlegroups.com
I was able to comment out all instances of  send_limiter_ from RtpDataMediaChannel class implementation.

talk_base::scoped_ptr<talk_base::RateLimiter> send_limiter_

This helped me overcome some of the issues I was facing in terms of bandwidth availability for data channel on the send side. 

Do you have any other rate control algorithms in mind ?

Thanks.
George

ftv dev

unread,
Jan 22, 2014, 3:10:16 PM1/22/14
to discuss...@googlegroups.com
Yes, I have another rate algorithms in my mind. However, it is just an idea and I need more time to test it and see the results. For me, I tried to disable it by modifying the source code of several parts :  bitrate_controller, remote_bitrate_estimator,...
Then I discovered an easier method. I just disable nack and the receiver estimate maximum bit rate  (by deleting a=rtcp-fb:100 nack and a=rtcp-fb:100 goog-remb) and I fix the bandwidth using SDP by adding this line :b=AS:1024.

ftv dev

unread,
Feb 7, 2014, 11:49:23 AM2/7/14
to discuss...@googlegroups.com
Apparently, a newer version of chrome. The SPD parameter b=AS:* doesn't fix the bandwidth but the value defined in this paramters will be set as the maximum bitrate (Which is the normal behaviour as defined in the SDP).

So here I am looking again for a way to disable the congestion control. It tried to comment instances of RateLimiter but I remarked that this only delete the upper bound. By that I mean that if the network parameter are degraded the congestion control algorithm will decrease the encoder bitrate.

So is there a better way ? where can I find the methods responsible about change the encoder bitrate ?

Miniruwan

unread,
Apr 11, 2019, 1:47:27 AM4/11/19
to discuss-webrtc
Did anyone managed to do this?
Reply all
Reply to author
Forward
0 new messages