Procházet zdrojové kódy

fix(iframe_api): toggleScreenSharing command

j8
hristoterezov před 8 roky
rodič
revize
dc43135980
1 změnil soubory, kde provedl 2 přidání a 1 odebrání
  1. 2
    1
      modules/API/API.js

+ 2
- 1
modules/API/API.js Zobrazit soubor

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

Načítá se…
Zrušit
Uložit