diff --git a/modules/desktopsharing/ScreenObtainer.js b/modules/desktopsharing/ScreenObtainer.js index de5edb69a..9b3e1ae3d 100644 --- a/modules/desktopsharing/ScreenObtainer.js +++ b/modules/desktopsharing/ScreenObtainer.js @@ -225,7 +225,8 @@ function doGetStreamFromExtension(streamCallback, failCallback) { // Sends 'getStream' msg to the extension. // Extension id must be defined in the config. chrome.runtime.sendMessage( - config.chromeExtensionId, + //TODO: remove chromeExtensionId (deprecated) + (config.desktopSharingChromeExtId || config.chromeExtensionId), { getStream: true, //TODO: remove desktopSharingSources (deprecated).