PeerErrorDetails: {
    peerId: string;
    streamType: StreamType;
    error: Error;
}

Represents the details of a peer error event.

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.

  • error: Error

    The error that occurred during the peer-to-peer connection.