Log SendSideCongestionController experiment
The SendSideCongestionController version is toggled by an experiment in RtpTransportControllerSend. This CL adds a log statement of which version is used, to make debugging easier. Bug: webrtc:8415 Change-Id: I6201cf5f03e097cc07c6ae120dcff075c046c414 Reviewed-on: https://webrtc-review.googlesource.com/69808 Commit-Queue: Sebastian Jansson <srte@webrtc.org> Reviewed-by: Niels Moller <nisse@webrtc.org> Cr-Commit-Position: refs/heads/master@{#22858}
This commit is contained in:
committed by
Commit Bot
parent
a73538828f
commit
4e140da62f
@ -34,10 +34,12 @@ std::unique_ptr<SendSideCongestionControllerInterface> CreateController(
|
||||
const BitrateConstraints& bitrate_config,
|
||||
bool task_queue_controller) {
|
||||
if (task_queue_controller) {
|
||||
RTC_LOG(LS_INFO) << "Using TaskQueue based SSCC";
|
||||
return rtc::MakeUnique<webrtc::webrtc_cc::SendSideCongestionController>(
|
||||
clock, event_log, pacer, bitrate_config.start_bitrate_bps,
|
||||
bitrate_config.min_bitrate_bps, bitrate_config.max_bitrate_bps);
|
||||
}
|
||||
RTC_LOG(LS_INFO) << "Using Legacy SSCC";
|
||||
auto cc = rtc::MakeUnique<webrtc::SendSideCongestionController>(
|
||||
clock, nullptr /* observer */, event_log, pacer);
|
||||
cc->SignalNetworkState(kNetworkDown);
|
||||
|
||||
Reference in New Issue
Block a user