Type Alias: PeerStatus
PeerStatus:
"connecting"
|"connected"
|"error"
|"idle"
Represents the possible statuses of a peer connection to a room (websocket state).
idle
- Peer is not connected, either never connected or successfully disconnected.connecting
- Peer is in the process of connecting.connected
- Peer has successfully connected.error
- There was an error in the connection process.