diff --git a/video/video_send_stream_impl.cc b/video/video_send_stream_impl.cc index aa9e6c98ec2..3241b0a5c54 100644 --- a/video/video_send_stream_impl.cc +++ b/video/video_send_stream_impl.cc @@ -432,7 +432,10 @@ void VideoSendStreamImpl::SignalEncoderTimedOut() { void VideoSendStreamImpl::OnBitrateAllocationUpdated( const VideoBitrateAllocation& allocation) { - rtp_video_sender_->OnBitrateAllocationUpdated(allocation); + if (encoder_target_rate_bps_ != 0) { + // Send bitrate allocation metadata only if encoder is not paused. + rtp_video_sender_->OnBitrateAllocationUpdated(allocation); + } } void VideoSendStreamImpl::SignalEncoderActive() {