Log when a TargetBitrate XR is sent with layers enabled/disabled.

Bug: None
Change-Id: Ifecccd1ca3c8c93a22472e8993f4ba609d51f02c
Reviewed-on: https://webrtc-review.googlesource.com/c/src/+/129960
Reviewed-by: Åsa Persson <asapersson@webrtc.org>
Commit-Queue: Rasmus Brandt <brandtr@webrtc.org>
Cr-Commit-Position: refs/heads/master@{#27329}
This commit is contained in:
Rasmus Brandt 2019-03-27 16:06:30 +01:00 committed by Commit Bot
parent 20574f48b5
commit 71f76b54ad

View File

@ -938,6 +938,9 @@ void RTCPSender::SetVideoBitrateAllocation(
CheckAndUpdateLayerStructure(bitrate);
if (new_bitrate) {
video_bitrate_allocation_ = *new_bitrate;
RTC_LOG(LS_INFO) << "Emitting TargetBitrate XR for SSRC " << ssrc_
<< " with new layers enabled/disabled: "
<< video_bitrate_allocation_.ToString();
next_time_to_send_rtcp_ = clock_->TimeInMilliseconds();
} else {
video_bitrate_allocation_ = bitrate;