Browse Source

feat(deep-linking): allow disabling through override

j8
Leonard Kim 6 years ago
parent
commit
0097360396

+ 4
- 0
config.js View File

418
     // use only.
418
     // use only.
419
     // _desktopSharingSourceDevice: 'sample-id-or-label'
419
     // _desktopSharingSourceDevice: 'sample-id-or-label'
420
 
420
 
421
+    // If true, any checks to handoff to another application will be prevented
422
+    // and instead the app will continue to display in the current browser.
423
+    // disableDeepLinking: false
424
+
421
     // A property to disable the right click context menu for localVideo
425
     // A property to disable the right click context menu for localVideo
422
     // the menu has option to flip the locally seen video for local presentations
426
     // the menu has option to flip the locally seen video for local presentations
423
     // disableLocalVideoFlip: false
427
     // disableLocalVideoFlip: false

+ 1
- 0
react/features/base/config/functions.any.js View File

91
     'disableAGC',
91
     'disableAGC',
92
     'disableAP',
92
     'disableAP',
93
     'disableAudioLevels',
93
     'disableAudioLevels',
94
+    'disableDeepLinking',
94
     'disableH264',
95
     'disableH264',
95
     'disableHPF',
96
     'disableHPF',
96
     'disableNS',
97
     'disableNS',

+ 1
- 1
react/features/deep-linking/functions.js View File

51
     const { room } = state['features/base/conference'];
51
     const { room } = state['features/base/conference'];
52
 
52
 
53
     // Show only if we are about to join a conference.
53
     // Show only if we are about to join a conference.
54
-    if (!room) {
54
+    if (!room || state['features/base/config'].disableDeepLinking) {
55
         return Promise.resolve();
55
         return Promise.resolve();
56
     }
56
     }
57
 
57
 

Loading…
Cancel
Save