diff --git a/webrtc/video_engine/vie_channel_manager.cc b/webrtc/video_engine/vie_channel_manager.cc index bbb7f19b6..6f35c24f6 100644 --- a/webrtc/video_engine/vie_channel_manager.cc +++ b/webrtc/video_engine/vie_channel_manager.cc @@ -416,10 +416,7 @@ bool ViEChannelManager::GetEstimatedReceiveBandwidth( } std::vector ssrcs; if (!group->GetRemoteBitrateEstimator()->LatestEstimate( - &ssrcs, estimated_bandwidth)) { - return false; - } - if (ssrcs.empty()) { + &ssrcs, estimated_bandwidth) || ssrcs.empty()) { *estimated_bandwidth = 0; } return true;