Re-enable screen sharing in Chrome 34

master
Daniel Berteaud 11 years ago
parent d76a87df7b
commit fcc303ebb2
  1. 2
      public/js/simplewebrtc.bundle.js

@ -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…
Cancel
Save