浏览代码

fix(iframe_api): toggleScreenSharing command

master
hristoterezov 8 年前
父节点
当前提交
dc43135980
共有 1 个文件被更改,包括 2 次插入1 次删除
  1. 2
    1
      modules/API/API.js

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

@@ -50,7 +50,8 @@ function initCommands() {
50 50
         "toggle-film-strip": APP.UI.toggleFilmStrip,
51 51
         "toggle-chat": APP.UI.toggleChat,
52 52
         "toggle-contact-list": APP.UI.toggleContactList,
53
-        "toggle-share-screen": APP.conference.toggleScreenSharing,
53
+        "toggle-share-screen":
54
+            APP.conference.toggleScreenSharing.bind(APP.conference),
54 55
         "video-hangup": () => APP.conference.hangup()
55 56
     };
56 57
     Object.keys(commands).forEach(function (key) {

正在加载...
取消
保存