Uses the new name of the chrome extension id field.

pull/354/head 648
Boris Grozev 10 years ago
parent b2d838ba1c
commit f69e7ace6d
  1. 3
      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).

Loading…
Cancel
Save