Implement RTCOutboundRtpStreamStats::remoteId.
This CL also removes RTCRtpStreamStats::associateStatsId, which is the legacy name for this stat, which was never implemented (existed in C++ but the member always had the value undefined and was thus never exposed in JavaScript). Bug: webrtc:11228 Change-Id: I28c332e4bdf2f55caaedf993482dca58b6b8b9a0 Reviewed-on: https://webrtc-review.googlesource.com/c/src/+/162800 Reviewed-by: Harald Alvestrand <hta@webrtc.org> Commit-Queue: Henrik Boström <hbos@webrtc.org> Cr-Commit-Position: refs/heads/master@{#30171}
This commit is contained in:
committed by
Commit Bot
parent
266021dfa2
commit
4f40fa5cef
@ -370,9 +370,6 @@ class RTC_EXPORT RTCRTPStreamStats : public RTCStats {
|
||||
~RTCRTPStreamStats() override;
|
||||
|
||||
RTCStatsMember<uint32_t> ssrc;
|
||||
// TODO(hbos): When the remote case is supported |RTCStatsCollector| needs to
|
||||
// set this. crbug.com/657855, 657856
|
||||
RTCStatsMember<std::string> associate_stats_id;
|
||||
// TODO(hbos): Remote case not supported by |RTCStatsCollector|.
|
||||
// crbug.com/657855, 657856
|
||||
RTCStatsMember<bool> is_remote; // = false
|
||||
@ -468,6 +465,7 @@ class RTC_EXPORT RTCOutboundRTPStreamStats final : public RTCRTPStreamStats {
|
||||
~RTCOutboundRTPStreamStats() override;
|
||||
|
||||
RTCStatsMember<std::string> media_source_id;
|
||||
RTCStatsMember<std::string> remote_id;
|
||||
RTCStatsMember<uint32_t> packets_sent;
|
||||
RTCStatsMember<uint64_t> retransmitted_packets_sent;
|
||||
RTCStatsMember<uint64_t> bytes_sent;
|
||||
|
||||
Reference in New Issue
Block a user