mirror of https://github.com/dani/vroom.git
Re-enable screen sharing in Chrome 34
This commit is contained in:
parent
d76a87df7b
commit
fcc303ebb2
|
@ -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: {
|
||||
|
|
Loading…
Reference in New Issue