Skip to content

Interface: RoomState ​

Properties ​

PropertyTypeDescription
activeSpeakersstring[]Loudest first. Always empty in a p2p room — there is no SFU to measure it.
audioOnlyFallbackbooleanThe media server sends this client audio only, its estimate too low for video.
endedboolean-
participantsRecord<string, ParticipantInfo>By identity, which is the only address the protocol carries between clients and the only one that survives a seat being lost.
politebooleanp2p 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.
recordingRoomRecording | nullNull until the room is recorded; the last one, stopped or failed, until another starts.
roomRoomInfo-
selfIdentitystring-

Talkline documentation