RTCDtlsTransport

The RTCDtlsTransport interface provides access to information about the Datagram Transport Layer Security (DTLS) transport over which a RTCPeerConnection's RTP and RTCP packets are sent and received by its RTCRtpSender and RTCRtpReceiver objects.

MDN Reference

Properties

Link copied to clipboard
open external val iceTransport: RTCIceTransport

The iceTransport read-only property of the RTCDtlsTransport interface contains a reference to the underlying RTCIceTransport.

Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
open external val state: RTCDtlsTransportState

The state read-only property of the RTCDtlsTransport interface provides information which describes a Datagram Transport Layer Security (DTLS) transport state.

Functions

Link copied to clipboard
open external override fun dispatchEvent(event: Event): Boolean
Link copied to clipboard

The getRemoteCertificates() method of the RTCDtlsTransport interface returns the certificate chain of the remote peer of the DTLS connection.

Link copied to clipboard
open external fun <T : Event> when(type: EventType<T>, options: ObservableEventListenerOptions?): Observable<T>