From 5bea610568f3b0de046d80d00fa0e3387a7c9a72 Mon Sep 17 00:00:00 2001 From: Simon Eisenmann Date: Mon, 13 Apr 2015 18:32:27 +0200 Subject: [PATCH] Bumped constraints support for HD to FF 40 to make sure MJPEG works fine. --- static/js/services/constraints.js | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/static/js/services/constraints.js b/static/js/services/constraints.js index 99d94bc0..99224615 100644 --- a/static/js/services/constraints.js +++ b/static/js/services/constraints.js @@ -194,10 +194,10 @@ var version = $window.webrtcDetectedVersion; // Constraints support table. return { - // Chrome supports it. See https://wiki.mozilla.org/Media/getUserMedia for FF details. + // Chrome supports it. FF supports new spec starting 38. See https://wiki.mozilla.org/Media/getUserMedia for FF details. audioVideo: isChrome || (isFirefox && version >= 38), - // HD constraints in Chrome no issue. In FF we just assume MJPEG is fixed with FF 38 (see https://bugzilla.mozilla.org/show_bug.cgi?id=1151628). - hdVideo: isChrome || (isFirefox && version >= 38), + // HD constraints in Chrome no issue. In FF we MJPEG is fixed with 40 (see https://bugzilla.mozilla.org/show_bug.cgi?id=1151628). + hdVideo: isChrome || (isFirefox && version >= 40), // Chrome supports this on Windows only. renderToAssociatedSink: isChrome && $window.navigator.platform.indexOf("Win") === 0, chrome: isChrome,