Interface ConnectConfig<PeerMetadata>

Configuration object for the client

interface ConnectConfig<PeerMetadata> {
    peerMetadata: PeerMetadata;
    signaling?: SignalingUrl;
    token: string;
}

Type Parameters

  • PeerMetadata

Properties

peerMetadata: PeerMetadata

Metadata for the peer

signaling?: SignalingUrl
token: string

Token for authentication