Type Alias PeerWithTracks<PeerMetadata, ServerMetadata>

PeerWithTracks: {
    cameraTrack?: Track;
    id: PeerId;
    metadata?: Metadata<PeerMetadata, ServerMetadata>;
    microphoneTrack?: Track;
    screenShareAudioTrack?: Track;
    screenShareVideoTrack?: Track;
    tracks: Track[];
}

Type Parameters

  • PeerMetadata

    Type of metadata set by peer while connecting to a room.

  • ServerMetadata

    Type of metadata set by the server while creating a peer.

Type declaration