mirror of
https://github.com/dani/vroom.git
synced 2024-06-26 17:43:29 +02:00
Allow the new screensharing on Chrome35/Linux
I see no crash or other problem
This commit is contained in:
parent
f7c22254b3
commit
20d3c40dd9
|
@ -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) || {
|
||||
|
|
Loading…
Reference in New Issue
Block a user