Skip to content
Snippets Groups Projects
Commit 572e60f4 authored by Chad Pilkey's avatar Chad Pilkey
Browse files

[Flash] Chrome screenshare extension only required for <72

parent 1b526f86
No related branches found
No related tags found
No related merge requests found
......@@ -76,20 +76,23 @@ package org.bigbluebutton.modules.screenshare.utils
// if its chrome we need to check for the extension
} else if (BrowserCheck.isChrome()) {
WebRTCScreenshareUtility.extensionLink = options.chromeExtensionLink;
// We only need to check for the extension for Chrome versions before 72
if (BrowserCheck.browserMajorVersion < '72') {
WebRTCScreenshareUtility.extensionLink = options.chromeExtensionLink;
// if theres no extension link-- users cant download-- fail
if (StringUtils.isEmpty(options.chromeExtensionLink)) {
cannotUseWebRTC("No extensionLink in config.xml");
return;
}
// if theres no extension link-- users cant download-- fail
if (StringUtils.isEmpty(options.chromeExtensionLink)) {
cannotUseWebRTC("No extensionLink in config.xml");
return;
}
WebRTCScreenshareUtility.chromeExtensionKey = options.chromeExtensionKey;
WebRTCScreenshareUtility.chromeExtensionKey = options.chromeExtensionKey;
// if theres no key we cannot connect to the extension-- fail
if (StringUtils.isEmpty(WebRTCScreenshareUtility.chromeExtensionKey)) {
cannotUseWebRTC("No chromeExtensionKey in config.xml");
return;
// if theres no key we cannot connect to the extension-- fail
if (StringUtils.isEmpty(WebRTCScreenshareUtility.chromeExtensionKey)) {
cannotUseWebRTC("No chromeExtensionKey in config.xml");
return;
}
}
// connect to the webrtc code to attempt a connection with the extension
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment