stats: implement iceRole
https://www.w3.org/TR/webrtc-stats/#dom-rtctransportstats-icerole BUG=webrtc:14022 Change-Id: I88de2c843a2042ce99076d55ce41be22589e2d92 Reviewed-on: https://webrtc-review.googlesource.com/c/src/+/261201 Reviewed-by: Harald Alvestrand <hta@webrtc.org> Commit-Queue: Philipp Hancke <philipp.hancke@googlemail.com> Cr-Commit-Position: refs/heads/main@{#36766}
This commit is contained in:
committed by
WebRTC LUCI CQ
parent
eced0a1bb6
commit
cc1b9b060d
@ -97,6 +97,13 @@ struct RTCDtlsRole {
|
||||
static const char* const kServer;
|
||||
};
|
||||
|
||||
// https://www.w3.org/TR/webrtc/#rtcicerole
|
||||
struct RTCIceRole {
|
||||
static const char* const kUnknown;
|
||||
static const char* const kControlled;
|
||||
static const char* const kControlling;
|
||||
};
|
||||
|
||||
// https://w3c.github.io/webrtc-stats/#certificatestats-dict*
|
||||
class RTC_EXPORT RTCCertificateStats final : public RTCStats {
|
||||
public:
|
||||
@ -701,6 +708,7 @@ class RTC_EXPORT RTCTransportStats final : public RTCStats {
|
||||
RTCStatsMember<std::string> dtls_role;
|
||||
RTCStatsMember<std::string> srtp_cipher;
|
||||
RTCStatsMember<uint32_t> selected_candidate_pair_changes;
|
||||
RTCStatsMember<std::string> ice_role;
|
||||
};
|
||||
|
||||
} // namespace webrtc
|
||||
|
||||
Reference in New Issue
Block a user