Nukes the enableFirefoxSupport config param.
This commit is contained in:
parent
ce8aa961ea
commit
e98c8ada6a
|
@ -26,13 +26,11 @@ var config = {
|
|||
channelLastN: -1, // The default value of the channel attribute last-n.
|
||||
adaptiveLastN: false,
|
||||
adaptiveSimulcast: false,
|
||||
useRtcpMux: true,
|
||||
useBundle: true,
|
||||
useRtcpMux: true, // required for FF support
|
||||
useBundle: true, // required for FF support
|
||||
enableRecording: false,
|
||||
enableWelcomePage: true,
|
||||
enableSimulcast: false,
|
||||
enableFirefoxSupport: false, //firefox support is still experimental and
|
||||
// will work when simulcast is *disabled* and rtcpMux & bundle are *enabled*.
|
||||
enableSimulcast: false, // blocks FF support
|
||||
logStats: false, // Enable logging of PeerConnection stats via the focus
|
||||
/*noticeMessage: 'Service update is scheduled for 16th March 2015. ' +
|
||||
'During that time service will not be available. ' +
|
||||
|
|
|
@ -19,7 +19,7 @@
|
|||
<script src="libs/popover.js?v=1"></script><!-- bootstrap tooltip lib -->
|
||||
<script src="libs/toastr.js?v=1"></script><!-- notifications lib -->
|
||||
<script src="interface_config.js?v=5"></script>
|
||||
<script src="libs/app.bundle.js?v=51"></script>
|
||||
<script src="libs/app.bundle.js?v=52"></script>
|
||||
<script src="analytics.js?v=1"></script><!-- google analytics plugin -->
|
||||
<link rel="stylesheet" href="css/font.css?v=6"/>
|
||||
<link rel="stylesheet" href="css/toastr.css?v=1">
|
||||
|
|
File diff suppressed because one or more lines are too long
|
@ -130,7 +130,8 @@ function RTCUtils(RTCService)
|
|||
if (navigator.mozGetUserMedia) {
|
||||
console.log('This appears to be Firefox');
|
||||
var version = parseInt(navigator.userAgent.match(/Firefox\/([0-9]+)\./)[1], 10);
|
||||
if (version >= 38) {
|
||||
if (version >= 38
|
||||
&& !config.enableSimulcast && config.useBundle && config.useRtcpMux) {
|
||||
this.peerconnection = mozRTCPeerConnection;
|
||||
this.browser = RTCBrowserType.RTC_BROWSER_FIREFOX;
|
||||
this.getUserMedia = navigator.mozGetUserMedia.bind(navigator);
|
||||
|
|
|
@ -177,15 +177,6 @@ var Moderator = {
|
|||
{ name: 'openSctp', value: config.openSctp})
|
||||
.up();
|
||||
}
|
||||
var roomName = APP.UI.generateRoomName();
|
||||
if (typeof roomName !== 'string') roomName = '';
|
||||
if (config.enableFirefoxSupport !== undefined && roomName.indexOf('rembson@') === -1) {
|
||||
elem.c(
|
||||
'property',
|
||||
{ name: 'enableFirefoxHacks',
|
||||
value: config.enableFirefoxSupport})
|
||||
.up();
|
||||
}
|
||||
elem.up();
|
||||
return elem;
|
||||
},
|
||||
|
|
Loading…
Reference in New Issue