Merge pull request #6609 from capilkey/2.2-edge-webrtc
[2.2] Remove WebRTC blocks for Edge and update adapter.js
This commit is contained in:
commit
4e2f876f61
File diff suppressed because it is too large
Load Diff
@ -588,11 +588,7 @@ function releaseUserMedia() {
|
||||
}
|
||||
|
||||
function isWebRTCAvailable() {
|
||||
if (bowser.msedge) {
|
||||
return false;
|
||||
} else {
|
||||
return SIP.WebRTC.isSupported();
|
||||
}
|
||||
return SIP.WebRTC.isSupported();
|
||||
}
|
||||
|
||||
function getCallStatus() {
|
||||
|
@ -110,6 +110,8 @@ package org.bigbluebutton.modules.screenshare.utils
|
||||
ExternalInterface.addCallback("onSuccess", onSuccess);
|
||||
// check if the extension exists
|
||||
ExternalInterface.call("checkChromeExtInstalled", "onSuccess", WebRTCScreenshareUtility.chromeExtensionKey);
|
||||
} else if (BrowserCheck.isEdge()) {
|
||||
webRTCWorksAndConfigured("Edge, lets try");
|
||||
} else {
|
||||
cannotUseWebRTC("Web browser doesn't support WebRTC");
|
||||
return;
|
||||
|
@ -65,6 +65,10 @@ package org.bigbluebutton.util.browser {
|
||||
public static function isFirefox():Boolean {
|
||||
return _browserName.toLowerCase() == "firefox";
|
||||
}
|
||||
|
||||
public static function isEdge():Boolean {
|
||||
return _browserName.toLowerCase() == "edge";
|
||||
}
|
||||
|
||||
public static function isPuffinBelow46():Boolean {
|
||||
return _browserName.toLowerCase() == "puffin" && String(_fullVersion).substr(0, 3) < "4.6";
|
||||
|
Loading…
Reference in New Issue
Block a user