libp2p
    Preparing search index...

    Interface WebRTCTransportInit

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

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

    maxEarlyStreams?: number

    Caps the inbound streams accepted before the connection surfaces them, and the data channels buffered before the muxer exists (excess are closed).

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

    Add additional configuration to any RTCPeerConnections that are created.

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