Adds allocated rate without feedback to new congestion controller.
When bitrate is allocated to streams that does not have packet feedback, the allocated bitrate should be included in the estimate. This was previously only implemented for the old congestion controller and not for the new task queue based version. To make the behavior more robust, the responsibility for tracking this is moved to BitrateAllocator where it's handled consistently for multiple streams without feedback. Bug: webrtc:9586, webrtc:8243 Change-Id: I8af7fec23e1bdc08cc61cf1b4ff10461c3711fb0 Reviewed-on: https://webrtc-review.googlesource.com/102681 Commit-Queue: Sebastian Jansson <srte@webrtc.org> Reviewed-by: Christoffer Rodbro <crodbro@webrtc.org> Reviewed-by: Karl Wiberg <kwiberg@webrtc.org> Cr-Commit-Position: refs/heads/master@{#24905}
This commit is contained in:
committed by
Commit Bot
parent
e0d455b409
commit
35fa280229
@ -307,6 +307,12 @@ void RtpTransportControllerSend::SetClientBitratePreferences(
|
||||
|
||||
void RtpTransportControllerSend::SetAllocatedBitrateWithoutFeedback(
|
||||
uint32_t bitrate_bps) {
|
||||
send_side_cc_->SetAllocatedBitrateWithoutFeedback(bitrate_bps);
|
||||
// Audio transport feedback will not be reported in this mode, instead update
|
||||
// acknowledged bitrate estimator with the bitrate allocated for audio.
|
||||
if (field_trial::IsEnabled("WebRTC-Audio-ABWENoTWCC")) {
|
||||
// TODO(srte): Make sure it's safe to always report this and remove the
|
||||
// field trial check.
|
||||
send_side_cc_->SetAllocatedBitrateWithoutFeedback(bitrate_bps);
|
||||
}
|
||||
}
|
||||
} // namespace webrtc
|
||||
|
||||
Reference in New Issue
Block a user