Index: webrtc/api/rtcstats_integrationtest.cc |
diff --git a/webrtc/api/rtcstats_integrationtest.cc b/webrtc/api/rtcstats_integrationtest.cc |
index 5ded4470ea5fb13d019e4f7a91e869f435bc08a8..f4a48555b2fbd715ca4906198c91d99315d0ddc5 100644 |
--- a/webrtc/api/rtcstats_integrationtest.cc |
+++ b/webrtc/api/rtcstats_integrationtest.cc |
@@ -438,11 +438,13 @@ class RTCStatsReportVerifier { |
verifier.TestMemberIsNonNegative<uint32_t>( |
media_stream_track.frame_height); |
verifier.TestMemberIsUndefined(media_stream_track.frames_per_second); |
- verifier.TestMemberIsUndefined(media_stream_track.frames_sent); |
if (*media_stream_track.remote_source) { |
+ verifier.TestMemberIsUndefined(media_stream_track.frames_sent); |
verifier.TestMemberIsNonNegative<uint32_t>( |
media_stream_track.frames_received); |
} else { |
+ verifier.TestMemberIsNonNegative<uint32_t>( |
+ media_stream_track.frames_sent); |
verifier.TestMemberIsUndefined(media_stream_track.frames_received); |
} |
verifier.TestMemberIsUndefined(media_stream_track.frames_decoded); |