Lowers FF requirement to v38.

This commit is contained in:
George Politis 2015-03-31 12:33:04 +02:00
parent fbd08ba3a6
commit ce8aa961ea
1 changed files with 1 additions and 1 deletions

View File

@ -130,7 +130,7 @@ 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 >= 39) {
if (version >= 38) {
this.peerconnection = mozRTCPeerConnection;
this.browser = RTCBrowserType.RTC_BROWSER_FIREFOX;
this.getUserMedia = navigator.mozGetUserMedia.bind(navigator);