Merge pull request #8400 from jitsi/tavram/shortcuts

feat(external_api) allow shortcuts to be disabled
This commit is contained in:
Avram Tudor 2021-01-13 12:39:27 +02:00 committed by GitHub
commit c6bb600d4c
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
3 changed files with 7 additions and 1 deletions

View File

@ -2382,7 +2382,9 @@ export default {
_onConferenceJoined() {
APP.UI.initConference();
APP.keyboardshortcut.init();
if (!config.disableShortcuts) {
APP.keyboardshortcut.init();
}
APP.store.dispatch(conferenceJoined(room));
},

View File

@ -336,6 +336,9 @@ var config = {
// will be joined when no room is specified.
enableWelcomePage: true,
// Disable app shortcuts that are registered upon joining a conference
// disableShortcuts: false,
// Disable initial browser getUserMedia requests.
// This is useful for scenarios where users might want to start a conference for screensharing only
// disableInitialGUM: false,

View File

@ -90,6 +90,7 @@ export default [
'disableRemoteControl',
'disableRemoteMute',
'disableRtx',
'disableShortcuts',
'disableSimulcast',
'disableThirdPartyRequests',
'disableTileView',