GroupCallSession class

Holds methods for managing a group call. This class is also responsible for holding and managing the individual CallSessions in a group call.

Constructors

GroupCallSession({required Client client, required Room room, required VoIP voip, required CallBackend backend, required String groupCallId, required String? application, required String? scope})
GroupCallSession.withAutoGenId(Room room, VoIP voip, CallBackend backend, String? application, String? scope, String? groupCallId)
factory

Properties

application ↔ String?
something like normal calls or thirdroom
getter/setter pair
avatarName → String
no setter
backend → CallBackend
is a list of backend to allow passing multiple backend in the future we use the first backend everywhere as of now
final
client → Client
final
displayName → String?
no setter
groupCallId ↔ String
getter/setter pair
hashCode → int
The hash code for this object.
no setterinherited
localParticipant → CallParticipant?
no setter
matrixRTCEventStream → CachedStreamController<MatrixRTCCallEvent>
final
onGroupCallEvent → CachedStreamController<GroupCallStateChange>
final
onGroupCallState → CachedStreamController<GroupCallState>
final
participants → List<CallParticipant>
no setter
room → Room
final
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited
scope → String?
either room scoped or user scoped calls
final
state ↔ GroupCallState
getter/setter pair
voip → VoIP
final

Methods

enter({WrappedMediaStream? stream}) → Future<void>
enter the group call.
getAllReactions({required String emoji}) → Future<List<MatrixEvent>>
Get all reactions of a specific type for all participants in the call
hasLocalParticipant() → bool
leave() → Future<void>
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
onMemberStateChanged() → Future<void>
compltetely rebuilds the local _participants list
removeMemberStateEvent() → Future<void>
removeReactionEvent({required String eventId}) → Future<String?>
Remove a reaction event from the group call
sendMemberStateEvent() → Future<String?>
sendReactionEvent({required String emoji, bool isEphemeral = true}) → Future<String>
Send a reaction event to the group call
setState(GroupCallState newState) → void
toString() → String
A string representation of this object.
inherited

Operators

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