Lowers minimal required Chrome version for desktop sharing to 34.

This commit is contained in:
paweldomas 2014-04-09 15:37:12 +02:00
parent 6699783076
commit d7f2d5f9eb
1 changed files with 1 additions and 1 deletions

View File

@ -33,7 +33,7 @@ function isDesktopSharingEnabled() {
// We can assume that user agent is chrome, because it's enforced when 'ext' streaming method is set
var ver = parseInt(userAgent.match(/chrome\/(\d+)\./)[1], 10);
console.log("Chrome version" + userAgent, ver);
_desktopSharingEnabled = ver >= 35;
_desktopSharingEnabled = ver >= 34;
} else {
_desktopSharingEnabled = obtainDesktopStream === obtainWebRTCScreen;
}