Lowers minimal required Chrome version for desktop sharing to 34.
This commit is contained in:
parent
6699783076
commit
d7f2d5f9eb
|
@ -33,7 +33,7 @@ function isDesktopSharingEnabled() {
|
||||||
// We can assume that user agent is chrome, because it's enforced when 'ext' streaming method is set
|
// 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);
|
var ver = parseInt(userAgent.match(/chrome\/(\d+)\./)[1], 10);
|
||||||
console.log("Chrome version" + userAgent, ver);
|
console.log("Chrome version" + userAgent, ver);
|
||||||
_desktopSharingEnabled = ver >= 35;
|
_desktopSharingEnabled = ver >= 34;
|
||||||
} else {
|
} else {
|
||||||
_desktopSharingEnabled = obtainDesktopStream === obtainWebRTCScreen;
|
_desktopSharingEnabled = obtainDesktopStream === obtainWebRTCScreen;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue