GroupCallUtils extension
- on
Properties
-
activeGroupCallEvents
→ List<
Event> -
list of active group calls
no setter
- hasActiveGroupCall → bool
-
no setter
Methods
-
callMemberStateIsExpired(
SDNEvent groupCallMemberStateEvent, String groupCallId) → bool -
groupCallParticipantCount(
String groupCallId) → int? -
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?> - returns the event_id if successful
-
singleShotStaleCallCheckerOnRoom(
) → Future< void> -
startStaleCallsChecker(
String roomId) → void -
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 - stops the stale call checker timer
Constants
- staleCallCheckerDuration → const Duration