Amazon Kinesis Webrtc C SDK
RtcTransportStats Struct Reference

RtcTransportStats Represents the stats corresponding to an RTCDtlsTransport and its underlying RTCIceTransport. More...

#include <Stats.h>

Collaboration diagram for RtcTransportStats:
Collaboration graph

Public Attributes

DOMString rtcpTransportStatsId
 ID of the transport that gives stats for the RTCP component. More...
 
DOMString selectedCandidatePairId
 ID of the object inspected to produce RtcIceCandidatePairStats. More...
 
DOMString localCertificateId
 For components where DTLS is negotiated, give local certificate. More...
 
DOMString remoteCertificateId
 For components where DTLS is negotiated, give remote certificate. More...
 
CHAR tlsVersion [8U+1]
 For components where DTLS is negotiated, the TLS version agreed. More...
 
CHAR dtlsCipher [64U+1]
 
CHAR srtpCipher [64U+1]
 Acceptable values: https://www.iana.org/assignments/srtp-protection/srtp-protection.xhtml. More...
 
CHAR tlsGroup [32U+1]
 
RTC_ICE_ROLE iceRole
 Set to the current value of the "role" attribute of the underlying RTCDtlsTransport's "transport". More...
 
RTC_DTLS_TRANSPORT_STATE_STATS dtlsState
 Set to the current value of the "state" attribute of the underlying RTCDtlsTransport. More...
 
UINT64 packetsSent
 Total number of packets sent over the transport. More...
 
UINT64 packetsReceived
 Total number of packets received over the transport. More...
 
UINT64 bytesSent
 The total number of payload bytes sent on this PeerConnection (excluding header and padding) More...
 
UINT64 bytesReceived
 The total number of payload bytes received on this PeerConnection (excluding header and padding) More...
 
UINT32 selectedCandidatePairChanges
 The number of times that the selected candidate pair of this transport has changed. More...
 

Detailed Description

RtcTransportStats Represents the stats corresponding to an RTCDtlsTransport and its underlying RTCIceTransport.

Reference: https://www.w3.org/TR/webrtc-stats/#transportstats-dict*

Member Data Documentation

◆ bytesReceived

UINT64 RtcTransportStats::bytesReceived

The total number of payload bytes received on this PeerConnection (excluding header and padding)

◆ bytesSent

UINT64 RtcTransportStats::bytesSent

The total number of payload bytes sent on this PeerConnection (excluding header and padding)

◆ dtlsCipher

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

◆ dtlsState

RTC_DTLS_TRANSPORT_STATE_STATS RtcTransportStats::dtlsState

Set to the current value of the "state" attribute of the underlying RTCDtlsTransport.

◆ iceRole

RTC_ICE_ROLE RtcTransportStats::iceRole

Set to the current value of the "role" attribute of the underlying RTCDtlsTransport's "transport".

◆ localCertificateId

DOMString RtcTransportStats::localCertificateId

For components where DTLS is negotiated, give local certificate.

◆ packetsReceived

UINT64 RtcTransportStats::packetsReceived

Total number of packets received over the transport.

◆ packetsSent

UINT64 RtcTransportStats::packetsSent

Total number of packets sent over the transport.

◆ remoteCertificateId

DOMString RtcTransportStats::remoteCertificateId

For components where DTLS is negotiated, give remote certificate.

◆ rtcpTransportStatsId

DOMString RtcTransportStats::rtcpTransportStatsId

ID of the transport that gives stats for the RTCP component.

◆ selectedCandidatePairChanges

UINT32 RtcTransportStats::selectedCandidatePairChanges

The number of times that the selected candidate pair of this transport has changed.

◆ selectedCandidatePairId

DOMString RtcTransportStats::selectedCandidatePairId

ID of the object inspected to produce RtcIceCandidatePairStats.

◆ srtpCipher

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

◆ tlsGroup

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

◆ tlsVersion

CHAR RtcTransportStats::tlsVersion[8U+1]

For components where DTLS is negotiated, the TLS version agreed.


The documentation for this struct was generated from the following file: