libp2p
    Preparing search index...

    Interface WebRTCTransportInit

    interface WebRTCTransportInit {
        dataChannel?: DataChannelOptions;
        rtcConfiguration?:
            | RTCConfiguration
            | (() => RTCConfiguration | Promise<RTCConfiguration>);
    }
    Index

    Properties

    dataChannel?: DataChannelOptions

    Any options here will be applied to any RTCDataChannels that are opened.

    rtcConfiguration?:
        | RTCConfiguration
        | (() => RTCConfiguration | Promise<RTCConfiguration>)

    Add additional configuration to any RTCPeerConnections that are created.

    This could be extra STUN/TURN servers, certificate, etc.