commit | 88a51b2902d6e03c37bf649e9ed5f7d18a23280e | [log] [tgz] |
---|---|---|
author | Di Wu <meetwudi@gmail.com> | Mon Mar 01 11:22:06 2021 -0800 |
committer | Commit Bot <commit-bot@chromium.org> | Mon Mar 01 20:49:22 2021 +0000 |
tree | 2e02d6b020ac8df20d6cdd92025a171ae1da195e | |
parent | 625e1d9b16a306687d56e807f30278a35205cce8 [diff] |
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}
diff --git a/api/stats/rtcstats_objects.h b/api/stats/rtcstats_objects.h index f328326..46bc018 100644 --- a/api/stats/rtcstats_objects.h +++ b/api/stats/rtcstats_objects.h
@@ -556,6 +556,8 @@ RTCStatsMember<std::string> local_id; RTCStatsMember<double> round_trip_time; RTCStatsMember<double> fraction_lost; + RTCStatsMember<double> total_round_trip_time; + RTCStatsMember<int32_t> round_trip_time_measurements; }; // https://w3c.github.io/webrtc-stats/#dom-rtcmediasourcestats