openvidu-browser: Fixed possible non method defined

pull/438/merge
csantosm 2020-12-14 12:48:46 +01:00
parent fdaa307294
commit 183f699eab
1 changed files with 2 additions and 2 deletions

View File

@ -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;
exports.getScreenId = window.getScreenId;