add defaults for chrome ss link and key to config.xml template
This commit is contained in:
parent
6cbac32a83
commit
ff90c5815f
@ -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"
|
||||
|
@ -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 = "";
|
||||
|
@ -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;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user