Type alias GroupCallEventHandlerMap
Group
Call
Event
Handler
Map
: { active_speaker_changed
: ((activeSpeaker
: CallFeed | undefined) => void); calls_changed
: ((calls
: Map<RoomMember, Map<string, MatrixCall>>) => void); error
: ((error
: GroupCallError) => void); group_call_state_changed
: ((newState
: GroupCallState, oldState
: GroupCallState) => void); local_mute_state_changed
: ((audioMuted
: boolean, videoMuted
: boolean) => void); local_screenshare_state_changed
: ((isScreensharing
: boolean, feed
?: CallFeed, sourceId
?: string) => void); participants_changed
: ((participants
: Map<RoomMember, Map<string, ParticipantState>>) => void); screenshare_feeds_changed
: ((feeds
: CallFeed[]) => void); user_media_feeds_changed
: ((feeds
: CallFeed[]) => void); }
Type declaration
-
active_speaker_changed: ((activeSpeaker: CallFeed | undefined) => void)
-
- (activeSpeaker: CallFeed | undefined): void
-
Returns void
-
calls_changed: ((calls: Map<RoomMember, Map<string, MatrixCall>>) => void)
-
-
group_call_state_changed: ((newState: GroupCallState, oldState: GroupCallState) => void)
-
local_mute_state_changed: ((audioMuted: boolean, videoMuted: boolean) => void)
-
- (audioMuted: boolean, videoMuted: boolean): void
-
Parameters
-
audioMuted: boolean
-
videoMuted: boolean
Returns void
-
local_screenshare_state_changed: ((isScreensharing: boolean, feed?: CallFeed, sourceId?: string) => void)
-
- (isScreensharing: boolean, feed?: CallFeed, sourceId?: string): void
-
Parameters
-
isScreensharing: boolean
-
-
Optional
sourceId: string
Returns void
-
participants_changed: ((participants: Map<RoomMember, Map<string, ParticipantState>>) => void)
-
screenshare_feeds_changed: ((feeds: CallFeed[]) => void)
-
user_media_feeds_changed: ((feeds: CallFeed[]) => void)