diff --git a/webrtc/call/call.cc b/webrtc/call/call.cc index 38dca03ff9..e2b1e709ad 100644 --- a/webrtc/call/call.cc +++ b/webrtc/call/call.cc @@ -1220,6 +1220,9 @@ PacketReceiver::DeliveryStatus Call::DeliverRtp(MediaType media_type, } } if (media_type == MediaType::ANY || media_type == MediaType::VIDEO) { + received_bytes_per_second_counter_.Add(static_cast(length)); + // TODO(brandtr): Update here when FlexFEC supports protecting audio. + received_video_bytes_per_second_counter_.Add(static_cast(length)); auto it = flexfec_receive_ssrcs_protection_.find(ssrc); if (it != flexfec_receive_ssrcs_protection_.end()) { it->second->OnRtpPacket(*parsed_packet);