feat(deep-linking): allow disabling through override
This commit is contained in:
parent
b5cef05941
commit
0097360396
|
@ -418,6 +418,10 @@ var config = {
|
||||||
// use only.
|
// use only.
|
||||||
// _desktopSharingSourceDevice: 'sample-id-or-label'
|
// _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
|
// A property to disable the right click context menu for localVideo
|
||||||
// the menu has option to flip the locally seen video for local presentations
|
// the menu has option to flip the locally seen video for local presentations
|
||||||
// disableLocalVideoFlip: false
|
// disableLocalVideoFlip: false
|
||||||
|
|
|
@ -91,6 +91,7 @@ const WHITELISTED_KEYS = [
|
||||||
'disableAGC',
|
'disableAGC',
|
||||||
'disableAP',
|
'disableAP',
|
||||||
'disableAudioLevels',
|
'disableAudioLevels',
|
||||||
|
'disableDeepLinking',
|
||||||
'disableH264',
|
'disableH264',
|
||||||
'disableHPF',
|
'disableHPF',
|
||||||
'disableNS',
|
'disableNS',
|
||||||
|
|
|
@ -51,7 +51,7 @@ export function getDeepLinkingPage(state) {
|
||||||
const { room } = state['features/base/conference'];
|
const { room } = state['features/base/conference'];
|
||||||
|
|
||||||
// Show only if we are about to join a conference.
|
// Show only if we are about to join a conference.
|
||||||
if (!room) {
|
if (!room || state['features/base/config'].disableDeepLinking) {
|
||||||
return Promise.resolve();
|
return Promise.resolve();
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue