Chartbreaker
    Preparing search index...

    Interface 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

    interface RTCDtlsTransport {
        iceTransport: RTCIceTransport;
        onerror: ((this: RTCDtlsTransport, ev: RTCErrorEvent) => any) | null;
        onstatechange: ((this: RTCDtlsTransport, ev: Event) => any) | null;
        state: RTCDtlsTransportState;
        addEventListener<K extends keyof RTCDtlsTransportEventMap>(
            type: K,
            listener: (this: RTCDtlsTransport, ev: RTCDtlsTransportEventMap[K]) => any,
            options?: boolean | AddEventListenerOptions,
        ): void;
        addEventListener(
            type: string,
            listener: EventListenerOrEventListenerObject,
            options?: boolean | AddEventListenerOptions,
        ): void;
        dispatchEvent(event: Event): boolean;
        getRemoteCertificates(): ArrayBuffer[];
        removeEventListener<K extends keyof RTCDtlsTransportEventMap>(
            type: K,
            listener: (this: RTCDtlsTransport, ev: RTCDtlsTransportEventMap[K]) => any,
            options?: boolean | EventListenerOptions,
        ): void;
        removeEventListener(
            type: string,
            listener: EventListenerOrEventListenerObject,
            options?: boolean | EventListenerOptions,
        ): void;
    }

    Hierarchy

    • EventTarget
      • RTCDtlsTransport
    Index

    Properties

    iceTransport: RTCIceTransport

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

    MDN Reference

    onerror: ((this: RTCDtlsTransport, ev: RTCErrorEvent) => any) | null
    onstatechange: ((this: RTCDtlsTransport, ev: Event) => any) | null

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

    MDN Reference

    Methods

    • The dispatchEvent() method of the EventTarget sends an Event to the object, (synchronously) invoking the affected event listeners in the appropriate order. The normal event processing rules (including the capturing and optional bubbling phase) also apply to events dispatched manually with dispatchEvent().

      MDN Reference

      Parameters

      • event: Event

      Returns boolean

    • Returns ArrayBuffer[]

    • The removeEventListener() method of the EventTarget interface removes an event listener previously registered with EventTarget.addEventListener() from the target. The event listener to be removed is identified using a combination of the event type, the event listener function itself, and various optional options that may affect the matching process; see Matching event listeners for removal.

      MDN Reference

      Type Parameters

      Parameters

      Returns void

    • The removeEventListener() method of the EventTarget interface removes an event listener previously registered with EventTarget.addEventListener() from the target. The event listener to be removed is identified using a combination of the event type, the event listener function itself, and various optional options that may affect the matching process; see Matching event listeners for removal.

      MDN Reference

      Parameters

      Returns void