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
final
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.
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>
sendMemberStateEvent() Future<void>
setState(GroupCallState newState) → void
toString() String
A string representation of this object.
inherited

Operators

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