feat (external-api) Add command for setting tile view mode
This commit is contained in:
parent
0e7bde2ff0
commit
07f16a7a51
|
@ -39,7 +39,7 @@ import {
|
|||
import { toggleLobbyMode } from '../../react/features/lobby/actions.web';
|
||||
import { RECORDING_TYPES } from '../../react/features/recording/constants';
|
||||
import { getActiveSession } from '../../react/features/recording/functions';
|
||||
import { toggleTileView } from '../../react/features/video-layout';
|
||||
import { toggleTileView, setTileView } from '../../react/features/video-layout';
|
||||
import { muteAllParticipants } from '../../react/features/video-menu/actions';
|
||||
import { setVideoQuality } from '../../react/features/video-quality';
|
||||
import { getJitsiMeetTransport } from '../transport';
|
||||
|
@ -209,6 +209,9 @@ function initCommands() {
|
|||
|
||||
APP.store.dispatch(toggleTileView());
|
||||
},
|
||||
'set-tile-view': enabled => {
|
||||
APP.store.dispatch(setTileView(enabled));
|
||||
},
|
||||
'video-hangup': (showFeedbackDialog = true) => {
|
||||
sendAnalytics(createApiEvent('video.hangup'));
|
||||
APP.conference.hangup(showFeedbackDialog);
|
||||
|
|
|
@ -44,6 +44,7 @@ const commands = {
|
|||
sendEndpointTextMessage: 'send-endpoint-text-message',
|
||||
sendTones: 'send-tones',
|
||||
setLargeVideoParticipant: 'set-large-video-participant',
|
||||
setTileView: 'set-tile-view',
|
||||
setVideoQuality: 'set-video-quality',
|
||||
startRecording: 'start-recording',
|
||||
stopRecording: 'stop-recording',
|
||||
|
|
Loading…
Reference in New Issue