RtcTransportStats Represents the stats corresponding to an RTCDtlsTransport and its underlying RTCIceTransport. More...
#include <Stats.h>

Public Attributes | |
| DOMString | rtcpTransportStatsId |
| ID of the transport that gives stats for the RTCP component. | |
| DOMString | selectedCandidatePairId |
| ID of the object inspected to produce RtcIceCandidatePairStats. | |
| DOMString | localCertificateId |
| For components where DTLS is negotiated, give local certificate. | |
| DOMString | remoteCertificateId |
| For components where DTLS is negotiated, give remote certificate. | |
| CHAR | tlsVersion [8U+1] |
| For components where DTLS is negotiated, the TLS version agreed. | |
| CHAR | dtlsCipher [64U+1] |
| CHAR | srtpCipher [64U+1] |
| Acceptable values: https://www.iana.org/assignments/srtp-protection/srtp-protection.xhtml. | |
| CHAR | tlsGroup [32U+1] |
| RTC_ICE_ROLE | iceRole |
| Set to the current value of the "role" attribute of the underlying RTCDtlsTransport's "transport". | |
| RTC_DTLS_TRANSPORT_STATE_STATS | dtlsState |
| Set to the current value of the "state" attribute of the underlying RTCDtlsTransport. | |
| UINT64 | packetsSent |
| Total number of packets sent over the transport. | |
| UINT64 | packetsReceived |
| Total number of packets received over the transport. | |
| UINT64 | bytesSent |
| The total number of payload bytes sent on this PeerConnection (excluding header and padding) | |
| UINT64 | bytesReceived |
| The total number of payload bytes received on this PeerConnection (excluding header and padding) | |
| UINT32 | selectedCandidatePairChanges |
| The number of times that the selected candidate pair of this transport has changed. | |
RtcTransportStats Represents the stats corresponding to an RTCDtlsTransport and its underlying RTCIceTransport.
Reference: https://www.w3.org/TR/webrtc-stats/#transportstats-dict*
| UINT64 RtcTransportStats::bytesReceived |
The total number of payload bytes received on this PeerConnection (excluding header and padding)
| UINT64 RtcTransportStats::bytesSent |
The total number of payload bytes sent on this PeerConnection (excluding header and padding)
| CHAR RtcTransportStats::dtlsCipher[64U+ 1] |
Descriptive name of the cipher suite used for the DTLS transport. Acceptable values: https://www.iana.org/assignments/tls-parameters/tls-parameters.xhtml#tls-parameters-4
| RTC_DTLS_TRANSPORT_STATE_STATS RtcTransportStats::dtlsState |
Set to the current value of the "state" attribute of the underlying RTCDtlsTransport.
| RTC_ICE_ROLE RtcTransportStats::iceRole |
Set to the current value of the "role" attribute of the underlying RTCDtlsTransport's "transport".
| DOMString RtcTransportStats::localCertificateId |
For components where DTLS is negotiated, give local certificate.
| UINT64 RtcTransportStats::packetsReceived |
Total number of packets received over the transport.
| UINT64 RtcTransportStats::packetsSent |
Total number of packets sent over the transport.
| DOMString RtcTransportStats::remoteCertificateId |
For components where DTLS is negotiated, give remote certificate.
| DOMString RtcTransportStats::rtcpTransportStatsId |
ID of the transport that gives stats for the RTCP component.
| UINT32 RtcTransportStats::selectedCandidatePairChanges |
The number of times that the selected candidate pair of this transport has changed.
| DOMString RtcTransportStats::selectedCandidatePairId |
ID of the object inspected to produce RtcIceCandidatePairStats.
| CHAR RtcTransportStats::srtpCipher[64U+1] |
Acceptable values: https://www.iana.org/assignments/srtp-protection/srtp-protection.xhtml.
Descriptive name of the protection profile used for the SRTP transport
| CHAR RtcTransportStats::tlsGroup[32U+ 1] |
Descriptive name of the group used for the encryption Acceptable values: https://www.iana.org/assignments/tls-parameters/tls-parameters.xhtml#tls-parameters-8
| CHAR RtcTransportStats::tlsVersion[8U+1] |
For components where DTLS is negotiated, the TLS version agreed.