Require FF 40 or above for a good experience.

This commit is contained in:
gpolitis 2015-05-28 11:45:10 +02:00
parent d94f001f25
commit b0d2a79873
1 changed files with 1 additions and 1 deletions

View File

@ -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;