Interface RTCTransportStats
interface RTCTransportStats {
bytesReceived?: number;
bytesSent?: number;
dtlsCipher?: string;
dtlsState: RTCDtlsTransportState;
id: string;
localCertificateId?: string;
remoteCertificateId?: string;
selectedCandidatePairId?: string;
srtpCipher?: string;
timestamp: number;
tlsVersion?: string;
type: RTCStatsType;
}
bytesReceived?: number;
bytesSent?: number;
dtlsCipher?: string;
dtlsState: RTCDtlsTransportState;
id: string;
localCertificateId?: string;
remoteCertificateId?: string;
selectedCandidatePairId?: string;
srtpCipher?: string;
timestamp: number;
tlsVersion?: string;
type: RTCStatsType;
}
Properties
Optional
bytesReceived
bytesReceived ?: number
Optional
bytesSent
bytesSent ?: number
Optional
dtlsCipher
dtlsCipher ?: string
dtlsState
id
id: string
Optional
localCertificateId
localCertificateId ?: string
Optional
remoteCertificateId
remoteCertificateId ?: string
Optional
selectedCandidatePairId
selectedCandidatePairId ?: string
Optional
srtpCipher
srtpCipher ?: string
timestamp
timestamp: number
Optional
tlsVersion
tlsVersion ?: string