Add WebRTC option to config XML
This commit is contained in:
parent
b4649b41a2
commit
4c98822201
@ -51,22 +51,11 @@
|
||||
autoStart="false"
|
||||
autoFullScreen="false"
|
||||
baseTabIndex="201"
|
||||
useWebRTCIfAvailable="true"
|
||||
/>
|
||||
-->
|
||||
|
||||
<module name="WebRTCDeskShareModule"
|
||||
url="http://HOST/client/WebRTCDeskShareModule.swf?v=VERSION"
|
||||
uri="rtmp://HOST/video-broadcast"
|
||||
publishURI="HOST"
|
||||
useTLS="false"
|
||||
showButton="true"
|
||||
autoStart="false"
|
||||
autoFullScreen="false"
|
||||
baseTabIndex="201"
|
||||
/>
|
||||
|
||||
<module name="PhoneModule" url="http://HOST/client/PhoneModule.swf?v=VERSION"
|
||||
uri="rtmp://HOST/sip"
|
||||
<module name="PhoneModule" url="http://HOST/client/PhoneModule.swf?v=VERSION"
|
||||
uri="rtmp://HOST/sip"
|
||||
autoJoin="true"
|
||||
listenOnlyMode="true"
|
||||
presenterShareOnly="false"
|
||||
|
@ -1,13 +1,13 @@
|
||||
/**
|
||||
* BigBlueButton open source conferencing system - http://www.bigbluebutton.org/
|
||||
*
|
||||
*
|
||||
* Copyright (c) 2012 BigBlueButton Inc. and by respective authors (see below).
|
||||
*
|
||||
* This program is free software; you can redistribute it and/or modify it under the
|
||||
* terms of the GNU Lesser General Public License as published by the Free Software
|
||||
* Foundation; either version 3.0 of the License, or (at your option) any later
|
||||
* version.
|
||||
*
|
||||
*
|
||||
* BigBlueButton is distributed in the hope that it will be useful, but WITHOUT ANY
|
||||
* WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A
|
||||
* PARTICULAR PURPOSE. See the GNU Lesser General Public License for more details.
|
||||
@ -19,9 +19,9 @@
|
||||
package org.bigbluebutton.modules.deskshare.model
|
||||
{
|
||||
import flash.external.ExternalInterface;
|
||||
|
||||
|
||||
import org.bigbluebutton.core.BBB;
|
||||
|
||||
|
||||
public class DeskshareOptions
|
||||
{
|
||||
[Bindable] public var showButton:Boolean = true;
|
||||
@ -31,6 +31,9 @@ package org.bigbluebutton.modules.deskshare.model
|
||||
[Bindable] public var baseTabIndex:int;
|
||||
public var publishURI:String;
|
||||
|
||||
[Bindable]
|
||||
public var useWebRTCIfAvailable:Boolean = true;
|
||||
|
||||
public function parseOptions():void {
|
||||
var vxml:XML = BBB.getConfigForModule("DeskShareModule");
|
||||
if (vxml != null) {
|
||||
@ -60,7 +63,10 @@ package org.bigbluebutton.modules.deskshare.model
|
||||
showButton = false;
|
||||
}
|
||||
}
|
||||
if (vxml.@useWebRTCIfAvailable != undefined) {
|
||||
useWebRTCIfAvailable = (vxml.@useWebRTCIfAvailable.toString().toUpperCase() == "TRUE");
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user