GroupCallUtils extension

on

Properties

activeGroupCallEvents List<Event>

Available on Room, provided by the GroupCallUtils extension

list of active group calls
no setter
hasActiveGroupCall bool

Available on Room, provided by the GroupCallUtils extension

no setter

Methods

callMemberStateIsExpired(SDNEvent groupCallMemberStateEvent, String groupCallId) bool

Available on Room, provided by the GroupCallUtils extension

groupCallParticipantCount(String groupCallId) int?

Available on Room, provided by the GroupCallUtils extension

returns the user count (not sessions, yet) for the group call with id: groupCallId. returns 0 if group call not found
sendGroupCallTerminateEvent(String groupCallId) Future<String?>

Available on Room, provided by the GroupCallUtils extension

returns the event_id if successful
singleShotStaleCallCheckerOnRoom() Future<void>

Available on Room, provided by the GroupCallUtils extension

startStaleCallsChecker(String roomId) → void

Available on Room, provided by the GroupCallUtils extension

checks for stale calls in a room and sends m.terminated if all the expires_ts are expired. Call when opening a room
stopStaleCallsChecker(String roomId) → void

Available on Room, provided by the GroupCallUtils extension

stops the stale call checker timer

Constants

staleCallCheckerDuration → const Duration