feat(deep-linking): allow disabling through override

This commit is contained in:
Leonard Kim 2019-07-19 12:35:47 -07:00 committed by virtuacoplenny
parent b5cef05941
commit 0097360396
3 changed files with 6 additions and 1 deletions

View File

@ -418,6 +418,10 @@ var config = {
// use only.
// _desktopSharingSourceDevice: 'sample-id-or-label'
// If true, any checks to handoff to another application will be prevented
// and instead the app will continue to display in the current browser.
// disableDeepLinking: false
// A property to disable the right click context menu for localVideo
// the menu has option to flip the locally seen video for local presentations
// disableLocalVideoFlip: false

View File

@ -91,6 +91,7 @@ const WHITELISTED_KEYS = [
'disableAGC',
'disableAP',
'disableAudioLevels',
'disableDeepLinking',
'disableH264',
'disableHPF',
'disableNS',

View File

@ -51,7 +51,7 @@ export function getDeepLinkingPage(state) {
const { room } = state['features/base/conference'];
// Show only if we are about to join a conference.
if (!room) {
if (!room || state['features/base/config'].disableDeepLinking) {
return Promise.resolve();
}