mirror of
https://gitcode.com/GitHub_Trending/ji/jitsi-meet.git
synced 2025-12-30 11:22:31 +00:00
feat(API): add dominant speaker changed event
Fixes: https://github.com/jitsi/jitsi-meet/issues/4049
This commit is contained in:
committed by
Saúl Ibarra Corretgé
parent
c3e52f32f9
commit
b658f20a30
11
modules/API/external/external_api.js
vendored
11
modules/API/external/external_api.js
vendored
@@ -73,6 +73,7 @@ const events = {
|
||||
'video-availability-changed': 'videoAvailabilityChanged',
|
||||
'video-mute-status-changed': 'videoMuteStatusChanged',
|
||||
'screen-sharing-status-changed': 'screenSharingStatusChanged',
|
||||
'dominant-speaker-changed': 'dominantSpeakerChanged',
|
||||
'subject-change': 'subjectChange',
|
||||
'suspend-detected': 'suspendDetected',
|
||||
'tile-view-changed': 'tileViewChanged'
|
||||
@@ -521,13 +522,13 @@ export default class JitsiMeetExternalAPI extends EventEmitter {
|
||||
* {{
|
||||
* jid: jid //the jid of the participant
|
||||
* }}
|
||||
* {@code video-conference-joined} - receives event notifications about the
|
||||
* {@code videoConferenceJoined} - receives event notifications about the
|
||||
* local user has successfully joined the video conference.
|
||||
* The listener will receive object with the following structure:
|
||||
* {{
|
||||
* roomName: room //the room name of the conference
|
||||
* }}
|
||||
* {@code video-conference-left} - receives event notifications about the
|
||||
* {@code videoConferenceLeft} - receives event notifications about the
|
||||
* local user has left the video conference.
|
||||
* The listener will receive object with the following structure:
|
||||
* {{
|
||||
@@ -539,6 +540,12 @@ export default class JitsiMeetExternalAPI extends EventEmitter {
|
||||
* {{
|
||||
* on: on //whether screen sharing is on
|
||||
* }}
|
||||
* {@code dominantSpeakerChanged} - receives event notifications about
|
||||
* change in the dominant speaker.
|
||||
* The listener will receive object with the following structure:
|
||||
* {{
|
||||
* id: participantId //participantId of the new dominant speaker
|
||||
* }}
|
||||
* {@code suspendDetected} - receives event notifications about detecting suspend event in host computer.
|
||||
* {@code readyToClose} - all hangup operations are completed and Jitsi Meet
|
||||
* is ready to be disposed.
|
||||
|
||||
Reference in New Issue
Block a user