Require FF 40 or above for a good experience.
This commit is contained in:
parent
d94f001f25
commit
b0d2a79873
|
@ -130,7 +130,7 @@ function RTCUtils(RTCService)
|
||||||
if (navigator.mozGetUserMedia) {
|
if (navigator.mozGetUserMedia) {
|
||||||
console.log('This appears to be Firefox');
|
console.log('This appears to be Firefox');
|
||||||
var version = parseInt(navigator.userAgent.match(/Firefox\/([0-9]+)\./)[1], 10);
|
var version = parseInt(navigator.userAgent.match(/Firefox\/([0-9]+)\./)[1], 10);
|
||||||
if (version >= 38
|
if (version >= 40
|
||||||
&& !config.enableSimulcast && config.useBundle && config.useRtcpMux) {
|
&& !config.enableSimulcast && config.useBundle && config.useRtcpMux) {
|
||||||
this.peerconnection = mozRTCPeerConnection;
|
this.peerconnection = mozRTCPeerConnection;
|
||||||
this.browser = RTCBrowserType.RTC_BROWSER_FIREFOX;
|
this.browser = RTCBrowserType.RTC_BROWSER_FIREFOX;
|
||||||
|
|
Loading…
Reference in New Issue