diff --git a/openvidu-browser/src/OpenViduInternal/ScreenSharing/Screen-Capturing-Auto.js b/openvidu-browser/src/OpenViduInternal/ScreenSharing/Screen-Capturing-Auto.js index 5947e717..4042f6a3 100644 --- a/openvidu-browser/src/OpenViduInternal/ScreenSharing/Screen-Capturing-Auto.js +++ b/openvidu-browser/src/OpenViduInternal/ScreenSharing/Screen-Capturing-Auto.js @@ -13,7 +13,7 @@ getScreenId(function (error, sourceId, screen_constraints) { // error == null || 'permission-denied' || 'not-installed' || 'installed-disabled' || 'not-chrome' // sourceId == null || 'string' || 'firefox' - + if(microsoftEdge) { navigator.getDisplayMedia(screen_constraints).then(onSuccess, onFailure); } @@ -217,4 +217,4 @@ function postGetChromeExtensionStatusMessage() { }, '*'); } -exports.getScreenId = getScreenId; \ No newline at end of file +exports.getScreenId = window.getScreenId; \ No newline at end of file