1
0
mirror of https://github.com/dani/vroom.git synced 2024-06-02 05:21:39 +02:00

Re-enable screen sharing in Chrome 34

This commit is contained in:
Daniel Berteaud 2014-04-15 09:21:12 +02:00
parent d76a87df7b
commit fcc303ebb2

View File

@ -4545,7 +4545,7 @@ module.exports = function (constraints, cb) {
if (window.navigator.userAgent.match('Chrome')) {
var chromever = parseInt(window.navigator.userAgent.match(/Chrome\/(.*) /)[1], 10);
if (chromever >= 26 && chromever <= 33) {
if (chromever >= 26 && chromever <= 35) {
// chrome 26 - chrome 33 way to do it -- requires bad chrome://flags
constraints = (hasConstraints && constraints) || {
video: {