commit | 6e436d1cc0d54ed39bc28d4dac2e9439de9a5b65 | [log] [tgz] |
---|---|---|
author | Henrik Boström <hbos@webrtc.org> | Mon May 27 12:19:33 2019 +0200 |
committer | Commit Bot <commit-bot@chromium.org> | Mon May 27 12:40:22 2019 +0000 |
tree | 1a7f6518e0ffa4aecd19b1868867a9649781016a | |
parent | 87e3f9d116fd2a2098ee746d7a3d43c2d81c0a78 [diff] [blame] |
[audio] Plumbing of ReportBlockData from RTCPReceiver to MediaSenderInfo This is part of implementing RTCRemoteInboundRtpStreamStats. The CL was split up into smaller pieces for reviewability. Spec: https://w3c.github.io/webrtc-stats/#dom-rtcremoteinboundrtpstreamstats In [1], ReportBlockData was implemented and tested. This CL adds the plumbing to make it available in MediaSenderInfo for audio streams, but the code is not wired up to make use of these stats. In follow-up CL [2], ReportBlockData will be used to implement RTCRemoteInboundRtpStreamStats. The follow-up CL will add integration tests exercising the full code path. [1] https://webrtc-review.googlesource.com/c/src/+/136584 [2] https://webrtc-review.googlesource.com/c/src/+/138067 Bug: webrtc:10455 Change-Id: Id8940090cc9c121e8f06ccdb068a22ce24c07092 Reviewed-on: https://webrtc-review.googlesource.com/c/src/+/138066 Reviewed-by: Niels Moller <nisse@webrtc.org> Reviewed-by: Stefan Holmer <stefan@webrtc.org> Commit-Queue: Henrik Boström <hbos@webrtc.org> Cr-Commit-Position: refs/heads/master@{#28072}
diff --git a/audio/channel_send.cc b/audio/channel_send.cc index 38e89d8..793a7dd 100644 --- a/audio/channel_send.cc +++ b/audio/channel_send.cc
@@ -1079,6 +1079,7 @@ stats.packetsSent = rtp_stats.transmitted.packets + rtx_stats.transmitted.packets; stats.retransmitted_packets_sent = rtp_stats.retransmitted.packets; + stats.report_block_datas = _rtpRtcpModule->GetLatestReportBlockData(); return stats; }