Uses the new name of the chrome extension id field.

This commit is contained in:
Boris Grozev 2015-09-04 11:52:16 -05:00
parent b2d838ba1c
commit f69e7ace6d
1 changed files with 2 additions and 1 deletions

View File

@ -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).