VoiceRoom class

The state of one voice room: who is in it, their kind of channel, and every participant's mic, video, speaking, deaf, screen and hand state and role.

Constructors

VoiceRoom({required String channel, required VoiceRoomKind kind, required Map<CaseFolded, VoiceParticipant> participants, required TurnCredentials? turn})
const
VoiceRoom.fromJson(Map<String, dynamic> json)
factory

Properties

channel → String
The channel this room's signalling is scoped to.
final
hashCode → int
The hash code for this object.
no setterinherited
kind → VoiceRoomKind
Whether every member publishes, or only the streamer and whoever they promote.
final
participants → Map<CaseFolded, VoiceParticipant>
Every known participant, keyed by their folded nick.
final
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited
turn → TurnCredentials?
The TURN credentials the SFU handed us on joined, if it has yet.
final

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toJson() → Map<String, dynamic>
toString() → String
A string representation of this object.
inherited

Operators

operator ==(Object other) → bool
The equality operator.
inherited