Reland "Piping audio interruption metrics to API layer"
The metrics are now added as RTCNonStandardStatsMember objects in RTCMediaStreamTrackStats. Unit tests are updated. This is a reland of https://webrtc-review.googlesource.com/c/src/+/134303, with fixes. TBR=kwiberg@webrtc.org Bug: webrtc:10549 Change-Id: I29dcc6fbfc69156715664e71acfa054c1b2d9038 Reviewed-on: https://webrtc-review.googlesource.com/c/src/+/134500 Commit-Queue: Henrik Lundin <henrik.lundin@webrtc.org> Reviewed-by: Henrik Boström <hbos@webrtc.org> Reviewed-by: Ivo Creusen <ivoc@webrtc.org> Cr-Commit-Position: refs/heads/master@{#27806}
This commit is contained in:

committed by
Commit Bot

parent
7cca042dd4
commit
44125faba5
@ -389,6 +389,8 @@ WEBRTC_RTCSTATS_IMPL(RTCMediaStreamTrackStats, RTCStats, "track",
|
||||
&jitter_buffer_flushes,
|
||||
&delayed_packet_outage_samples,
|
||||
&relative_packet_arrival_delay,
|
||||
&interruption_count,
|
||||
&total_interruption_duration,
|
||||
&freeze_count,
|
||||
&pause_count,
|
||||
&total_freezes_duration,
|
||||
@ -442,6 +444,8 @@ RTCMediaStreamTrackStats::RTCMediaStreamTrackStats(std::string&& id,
|
||||
relative_packet_arrival_delay(
|
||||
"relativePacketArrivalDelay",
|
||||
{NonStandardGroupId::kRtcStatsRelativePacketArrivalDelay}),
|
||||
interruption_count("interruptionCount"),
|
||||
total_interruption_duration("totalInterruptionDuration"),
|
||||
freeze_count("freezeCount"),
|
||||
pause_count("pauseCount"),
|
||||
total_freezes_duration("totalFreezesDuration"),
|
||||
@ -484,6 +488,8 @@ RTCMediaStreamTrackStats::RTCMediaStreamTrackStats(
|
||||
jitter_buffer_flushes(other.jitter_buffer_flushes),
|
||||
delayed_packet_outage_samples(other.delayed_packet_outage_samples),
|
||||
relative_packet_arrival_delay(other.relative_packet_arrival_delay),
|
||||
interruption_count(other.interruption_count),
|
||||
total_interruption_duration(other.total_interruption_duration),
|
||||
freeze_count(other.freeze_count),
|
||||
pause_count(other.pause_count),
|
||||
total_freezes_duration(other.total_freezes_duration),
|
||||
|
Reference in New Issue
Block a user