Populate "total_round_trip_time" and "round_trip_time_measurements" for remote inbound RTP streams
Spec: https://w3c.github.io/webrtc-stats/#remoteinboundrtpstats-dict* Adding them into the stats definition as well. Bug: webrtc:12507 Change-Id: Id467a33fe7bb256655b68819e3ce87ca9af5b25f Reviewed-on: https://webrtc-review.googlesource.com/c/src/+/209000 Reviewed-by: Henrik Boström <hbos@webrtc.org> Commit-Queue: Henrik Boström <hbos@webrtc.org> Cr-Commit-Position: refs/heads/master@{#33363}
This commit is contained in:
@ -849,7 +849,9 @@ WEBRTC_RTCSTATS_IMPL(
|
||||
&jitter,
|
||||
&local_id,
|
||||
&round_trip_time,
|
||||
&fraction_lost)
|
||||
&fraction_lost,
|
||||
&total_round_trip_time,
|
||||
&round_trip_time_measurements)
|
||||
// clang-format on
|
||||
|
||||
RTCRemoteInboundRtpStreamStats::RTCRemoteInboundRtpStreamStats(
|
||||
@ -869,7 +871,9 @@ RTCRemoteInboundRtpStreamStats::RTCRemoteInboundRtpStreamStats(
|
||||
jitter("jitter"),
|
||||
local_id("localId"),
|
||||
round_trip_time("roundTripTime"),
|
||||
fraction_lost("fractionLost") {}
|
||||
fraction_lost("fractionLost"),
|
||||
total_round_trip_time("totalRoundTripTime"),
|
||||
round_trip_time_measurements("roundTripTimeMeasurements") {}
|
||||
|
||||
RTCRemoteInboundRtpStreamStats::RTCRemoteInboundRtpStreamStats(
|
||||
const RTCRemoteInboundRtpStreamStats& other)
|
||||
@ -882,7 +886,9 @@ RTCRemoteInboundRtpStreamStats::RTCRemoteInboundRtpStreamStats(
|
||||
jitter(other.jitter),
|
||||
local_id(other.local_id),
|
||||
round_trip_time(other.round_trip_time),
|
||||
fraction_lost(other.fraction_lost) {}
|
||||
fraction_lost(other.fraction_lost),
|
||||
total_round_trip_time(other.total_round_trip_time),
|
||||
round_trip_time_measurements(other.round_trip_time_measurements) {}
|
||||
|
||||
RTCRemoteInboundRtpStreamStats::~RTCRemoteInboundRtpStreamStats() {}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user