From 20d3c40dd933773251350f49865a89154b3d6f02 Mon Sep 17 00:00:00 2001 From: Daniel Berteaud Date: Fri, 30 May 2014 13:10:33 +0200 Subject: [PATCH] Allow the new screensharing on Chrome35/Linux I see no crash or other problem --- public/js/simplewebrtc.bundle.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/public/js/simplewebrtc.bundle.js b/public/js/simplewebrtc.bundle.js index 7bcaec8..2d3adcc 100644 --- a/public/js/simplewebrtc.bundle.js +++ b/public/js/simplewebrtc.bundle.js @@ -8019,8 +8019,8 @@ module.exports = function (constraints, cb) { if (window.navigator.userAgent.match('Chrome')) { var chromever = parseInt(window.navigator.userAgent.match(/Chrome\/(.*) /)[1], 10); var maxver = 33; - // "known" crash in chrome 34 and 35 on linux - if (window.navigator.userAgent.match('Linux')) maxver = 35; + // "known" bug in chrome 34 on linux + if (window.navigator.userAgent.match('Linux')) maxver = 34; if (chromever >= 26 && chromever <= maxver) { // chrome 26 - chrome 33 way to do it -- requires bad chrome://flags constraints = (hasConstraints && constraints) || {