|
@@ -21,6 +21,7 @@ import {
|
21
|
21
|
import { isEnabled as isDropboxEnabled } from '../../react/features/dropbox';
|
22
|
22
|
import { toggleE2EE } from '../../react/features/e2ee/actions';
|
23
|
23
|
import { invite } from '../../react/features/invite';
|
|
24
|
+import { selectParticipantInLargeVideo } from '../../react/features/large-video/actions';
|
24
|
25
|
import { toggleLobbyMode } from '../../react/features/lobby/actions.web';
|
25
|
26
|
import { RECORDING_TYPES } from '../../react/features/recording/constants';
|
26
|
27
|
import { getActiveSession } from '../../react/features/recording/functions';
|
|
@@ -123,6 +124,11 @@ function initCommands() {
|
123
|
124
|
|
124
|
125
|
APP.store.dispatch(sendTones(tones, duration, pause));
|
125
|
126
|
},
|
|
127
|
+ 'set-large-video-participant': participantId => {
|
|
128
|
+ logger.debug('Set large video participant command received');
|
|
129
|
+ sendAnalytics(createApiEvent('largevideo.participant.changed'));
|
|
130
|
+ APP.store.dispatch(selectParticipantInLargeVideo(participantId));
|
|
131
|
+ },
|
126
|
132
|
'subject': subject => {
|
127
|
133
|
sendAnalytics(createApiEvent('subject.changed'));
|
128
|
134
|
APP.store.dispatch(setSubject(subject));
|
|
@@ -710,8 +716,7 @@ class API {
|
710
|
716
|
}
|
711
|
717
|
|
712
|
718
|
/**
|
713
|
|
- * Notify external application (if API is enabled) that user changed their
|
714
|
|
- * nickname.
|
|
719
|
+ * Notify external application (if API is enabled) that local user has left the conference.
|
715
|
720
|
*
|
716
|
721
|
* @param {string} roomName - User id.
|
717
|
722
|
* @returns {void}
|