PeerDetails: {
    peerId: string;
    streamType: StreamType;
}

Represents the details of a peer in a peer-to-peer network.

Type declaration

  • peerId: string

    The unique identifier for a peer in the network.

  • streamType: StreamType

    The type of stream that the peer is connected to.