updatePeerMetadata

fun updatePeerMetadata(peerMetadata: Metadata)

Updates the metadata for the local peer.

Parameters

peerMetadata

Data about this peer that other peers will receive upon joining.

If the metadata is different from what is already tracked in the room, the optional callback onPeerUpdated will be triggered for other peers in the room.