Преглед на файлове

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) {

Loading…
Отказ
Запис