Appearance
Interface: RoomState
Properties
| Property | Type | Description |
|---|---|---|
activeSpeakers | string[] | Loudest first. Always empty in a p2p room — there is no SFU to measure it. |
audioOnlyFallback | boolean | The media server sends this client audio only, its estimate too low for video. |
ended | boolean | - |
participants | Record<string, ParticipantInfo> | By identity, which is the only address the protocol carries between clients and the only one that survives a seat being lost. |
polite | boolean | p2p only. Exactly one side of a pair carries it, and it decides who yields on an offer collision. The server computes it; a client that derives its own risks a deadlock — two peers both believing they are impolite ignore each other's offers, exactly as the protocol says an impolite peer must, and the call stalls over a healthy socket. |
recording | RoomRecording | null | Null until the room is recorded; the last one, stopped or failed, until another starts. |
room | RoomInfo | - |
selfIdentity | string | - |