Type alias GroupCallEventHandlerMap
GroupCallEventHandlerMap: {
active_speaker_changed: ((activeSpeaker) => void);
calls_changed: ((calls) => void);
group_call_error: ((error) => void);
group_call_state_changed: ((newState, oldState) => void);
local_mute_state_changed: ((audioMuted, videoMuted) => void);
local_screenshare_state_changed: ((isScreensharing, feed?, sourceId?) => void);
participants_changed: ((participants) => void);
screenshare_feeds_changed: ((feeds) => void);
user_media_feeds_changed: ((feeds) => void);
}
Type declaration
active_speaker_changed: ((activeSpeaker) => void)
- (activeSpeaker): void
Returns void
calls_changed: ((calls) => void)
- (calls): void
Returns void
group_call_error: ((error) => void)
- (error): void
Returns void
group_call_state_changed: ((newState, oldState) => void)
- (newState, oldState): void
Returns void
local_mute_state_changed: ((audioMuted, videoMuted) => void)
- (audioMuted, videoMuted): void
Parameters
- audioMuted: boolean
- videoMuted: boolean
Returns void
local_screenshare_state_changed: ((isScreensharing, feed?, sourceId?) => void)
- (isScreensharing, feed?, sourceId?): void
Parameters
- isScreensharing: boolean
Optional
feed: CallFeedOptional
sourceId: string
Returns void
participants_changed: ((participants) => void)
- (participants): void
Returns void
screenshare_feeds_changed: ((feeds) => void)
- (feeds): void
Returns void
user_media_feeds_changed: ((feeds) => void)
- (feeds): void
Returns void
Fires whenever an error occurs when call.js encounters an issue with setting up the call.
The error given will have a code equal to either `MatrixCall.ERR_LOCAL_OFFER_FAILED` or `MatrixCall.ERR_NO_USER_MEDIA`. `ERR_LOCAL_OFFER_FAILED` is emitted when the local client fails to create an offer. `ERR_NO_USER_MEDIA` is emitted when the user has denied access to their audio/video hardware.