diff --git a/video/video_receive_stream2.cc b/video/video_receive_stream2.cc index d4ca5e8eb7..6a9b000db4 100644 --- a/video/video_receive_stream2.cc +++ b/video/video_receive_stream2.cc @@ -568,7 +568,10 @@ VideoReceiveStreamInterface::Stats VideoReceiveStream2::GetStats() const { rtp_receive_statistics_->GetStatistician(rtx_ssrc()); if (rtx_statistician) { stats.total_bitrate_bps += rtx_statistician->BitrateReceived(); - stats.rtx_rtp_stats = rtx_statistician->GetStats(); + // TODO(bugs.webrtc.org/15096): remove kill-switch after rollout. + if (!call_->trials().IsDisabled("WebRTC-Stats-RtxReceiveStats")) { + stats.rtx_rtp_stats = rtx_statistician->GetStats(); + } } } return stats;