瀏覽代碼

Uses the new name of the chrome extension id field.

master
Boris Grozev 9 年之前
父節點
當前提交
f69e7ace6d
共有 1 個檔案被更改,包括 2 行新增1 行删除
  1. 2
    1
      modules/desktopsharing/ScreenObtainer.js

+ 2
- 1
modules/desktopsharing/ScreenObtainer.js 查看文件

@@ -225,7 +225,8 @@ function doGetStreamFromExtension(streamCallback, failCallback) {
225 225
     // Sends 'getStream' msg to the extension.
226 226
     // Extension id must be defined in the config.
227 227
     chrome.runtime.sendMessage(
228
-        config.chromeExtensionId,
228
+        //TODO: remove chromeExtensionId (deprecated)
229
+        (config.desktopSharingChromeExtId || config.chromeExtensionId),
229 230
         {
230 231
             getStream: true,
231 232
             //TODO: remove desktopSharingSources (deprecated).

Loading…
取消
儲存