@not3/sdk
    Preparing search index...

    Interface P2PConnectResult

    The established peer connection and its open data channel.

    interface P2PConnectResult {
        channel: RTCDataChannel;
        maxMessageSize: number | null;
        pc: RTCPeerConnection;
    }
    Index

    Properties

    channel: RTCDataChannel

    The open, reliable, ordered data channel carrying the transfer.

    maxMessageSize: number | null

    The negotiated SCTP max message size, or null when unknown.

    pc: RTCPeerConnection

    The peer connection, kept so the caller can close it.