mirror of
https://gitcode.com/GitHub_Trending/ji/jitsi-meet.git
synced 2026-09-03 09:37:47 +00:00
feat(external_api): Add method for displaying participant on large video
This commit is contained in:
committed by
Jaya Allamsetty
parent
b6792db65f
commit
4d1dba937f
12
modules/API/external/external_api.js
vendored
12
modules/API/external/external_api.js
vendored
@@ -948,6 +948,18 @@ export default class JitsiMeetExternalAPI extends EventEmitter {
|
||||
return setAudioOutputDevice(this._transport, label, deviceId);
|
||||
}
|
||||
|
||||
/**
|
||||
* Displays the given participant on the large video. If no participant id is specified,
|
||||
* dominant and pinned speakers will be taken into consideration while selecting the
|
||||
* the large video participant.
|
||||
*
|
||||
* @param {string} participantId - Jid of the participant to be displayed on the large video.
|
||||
* @returns {void}
|
||||
*/
|
||||
setLargeVideoParticipant(participantId) {
|
||||
this.executeCommand('setLargeVideoParticipant', participantId);
|
||||
}
|
||||
|
||||
/**
|
||||
* Sets the video input device to the one with the label or id that is
|
||||
* passed.
|
||||
|
||||
Reference in New Issue
Block a user