OptionalmetadataOptional metadata to advertise to the remote peer.
OptionalroomRoom name to join.
If omitted, the peer will join a room with the default name.
OptionalverifyOptional callback to accept or reject incoming peer connections.
Options describing the incoming peer connection.
Remote peer identifier.
Optionalmetadata?: anyRemote peer metadata.
A boolean or promise indicating whether the incoming connection should be accepted.
Options for joining a room by calling Peer.join.