add defaults for chrome ss link and key to config.xml template

This commit is contained in:
Chad Pilkey 2019-02-20 17:16:20 -08:00
parent 6cbac32a83
commit ff90c5815f
3 changed files with 6 additions and 6 deletions

View File

@ -57,8 +57,8 @@
enablePause="true"
offerWebRTC="false"
shareRegionDefault="false"
chromeExtensionLink=""
chromeExtensionKey=""
chromeExtensionLink="LINK"
chromeExtensionKey="KEY"
chromeWin10Help="http://HOST/client/help/webrtc-screenshare-help.html"
baseTabIndex="201"
help="http://HOST/client/help/screenshare-help.html"

View File

@ -40,10 +40,10 @@ package org.bigbluebutton.modules.screenshare.model {
public var shareRegionDefault:Boolean = false;
[Bindable]
public var chromeExtensionLink:String = "";
public var chromeExtensionLink:String = "LINK";
[Bindable]
public var chromeExtensionKey:String = "";
public var chromeExtensionKey:String = "KEY";
[Bindable]
public var chromeWin10Help:String = "";

View File

@ -81,7 +81,7 @@ package org.bigbluebutton.modules.screenshare.utils
WebRTCScreenshareUtility.extensionLink = options.chromeExtensionLink;
// if theres no extension link-- users cant download-- fail
if (StringUtils.isEmpty(options.chromeExtensionLink)) {
if (StringUtils.isEmpty(options.chromeExtensionLink) || StringUtils.equalsIgnoreCase(options.chromeExtensionLink, "LINK")) {
cannotUseWebRTC("No extensionLink in config.xml");
return;
}
@ -89,7 +89,7 @@ package org.bigbluebutton.modules.screenshare.utils
WebRTCScreenshareUtility.chromeExtensionKey = options.chromeExtensionKey;
// if theres no key we cannot connect to the extension-- fail
if (StringUtils.isEmpty(WebRTCScreenshareUtility.chromeExtensionKey)) {
if (StringUtils.isEmpty(WebRTCScreenshareUtility.chromeExtensionKey) || StringUtils.equalsIgnoreCase(options.chromeExtensionKey, "KEY")) {
cannotUseWebRTC("No chromeExtensionKey in config.xml");
return;
}