commit | 9fe1834d5d0962ef5b5e075d4da520e8c235081b | [log] [tgz] |
---|---|---|
author | Henrik Boström <hbos@webrtc.org> | Thu May 16 16:38:20 2019 |
committer | Commit Bot <commit-bot@chromium.org> | Fri May 17 18:53:20 2019 |
tree | 64d0990e7d3acbc3bca4cb62f28e73a85fcc5e1e | |
parent | 45b2e27ccd6e2d372eae7bb4eec35a526b3bb0a2 [diff] [blame] |
Implement RTCOutboundRtpStreamStats.totalPacketSendDelay for video. This is a standardized metric. Spec: https://w3c.github.io/webrtc-stats/#dom-rtcoutboundrtpstreamstats-totalpacketsenddelay It is meant to replace the legacy googBucketDelay. The average packet delay over any interval can be calculated as the delta totalPacketSendDelay divided by the delta packetsSent between two calls to getStats(). Bug: webrtc:10506 Change-Id: I3d6c6d66e5a06937d0ea8d182a82cd255084ad19 Reviewed-on: https://webrtc-review.googlesource.com/c/src/+/137044 Reviewed-by: Stefan Holmer <stefan@webrtc.org> Commit-Queue: Henrik Boström <hbos@webrtc.org> Cr-Commit-Position: refs/heads/master@{#27979}
diff --git a/video/send_statistics_proxy.h b/video/send_statistics_proxy.h index ca8f542..3b61f32 100644 --- a/video/send_statistics_proxy.h +++ b/video/send_statistics_proxy.h
@@ -112,6 +112,7 @@ void SendSideDelayUpdated(int avg_delay_ms, int max_delay_ms, + uint64_t total_delay_ms, uint32_t ssrc) override; private: