Hook allows to access id, tracks and metadata of the local and remote peers.
Type of metadata set by peer while connecting to a room.
Type of metadata set by the server while creating a peer.
The local peer with distinguished tracks (camera, microphone, screen share). Will be null if the local peer is not found.
Use remotePeers instead Legacy array containing remote peers. This property will be removed in future versions.
Array of remote peers with distinguished tracks (camera, microphone, screen share).
Hook allows to access id, tracks and metadata of the local and remote peers.