Wire up non-sender RTT for audio, and implement related standardized stats.
The implemented stats are: - https://www.w3.org/TR/webrtc-stats/#dom-rtcremoteoutboundrtpstreamstats-roundtriptime - https://www.w3.org/TR/webrtc-stats/#dom-rtcremoteoutboundrtpstreamstats-totalroundtriptime - https://www.w3.org/TR/webrtc-stats/#dom-rtcremoteoutboundrtpstreamstats-roundtriptimemeasurements Bug: webrtc:12951, webrtc:12714 Change-Id: Ia362d5c4b0456140e32da79d40edc06ab9ce2a2c Reviewed-on: https://webrtc-review.googlesource.com/c/src/+/226956 Commit-Queue: Ivo Creusen <ivoc@webrtc.org> Reviewed-by: Henrik Boström <hbos@webrtc.org> Reviewed-by: Harald Alvestrand <hta@webrtc.org> Reviewed-by: Danil Chapovalov <danilchap@webrtc.org> Cr-Commit-Position: refs/heads/main@{#34861}
This commit is contained in:
committed by
WebRTC LUCI CQ
parent
58157b5cd2
commit
fb0dca6c05
@ -936,7 +936,10 @@ WEBRTC_RTCSTATS_IMPL(
|
||||
"remote-outbound-rtp",
|
||||
&local_id,
|
||||
&remote_timestamp,
|
||||
&reports_sent)
|
||||
&reports_sent,
|
||||
&round_trip_time,
|
||||
&round_trip_time_measurements,
|
||||
&total_round_trip_time)
|
||||
// clang-format on
|
||||
|
||||
RTCRemoteOutboundRtpStreamStats::RTCRemoteOutboundRtpStreamStats(
|
||||
@ -950,14 +953,20 @@ RTCRemoteOutboundRtpStreamStats::RTCRemoteOutboundRtpStreamStats(
|
||||
: RTCSentRtpStreamStats(std::move(id), timestamp_us),
|
||||
local_id("localId"),
|
||||
remote_timestamp("remoteTimestamp"),
|
||||
reports_sent("reportsSent") {}
|
||||
reports_sent("reportsSent"),
|
||||
round_trip_time("roundTripTime"),
|
||||
round_trip_time_measurements("roundTripTimeMeasurements"),
|
||||
total_round_trip_time("totalRoundTripTime") {}
|
||||
|
||||
RTCRemoteOutboundRtpStreamStats::RTCRemoteOutboundRtpStreamStats(
|
||||
const RTCRemoteOutboundRtpStreamStats& other)
|
||||
: RTCSentRtpStreamStats(other),
|
||||
local_id(other.local_id),
|
||||
remote_timestamp(other.remote_timestamp),
|
||||
reports_sent(other.reports_sent) {}
|
||||
reports_sent(other.reports_sent),
|
||||
round_trip_time(other.round_trip_time),
|
||||
round_trip_time_measurements(other.round_trip_time_measurements),
|
||||
total_round_trip_time(other.total_round_trip_time) {}
|
||||
|
||||
RTCRemoteOutboundRtpStreamStats::~RTCRemoteOutboundRtpStreamStats() {}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user