Procházet zdrojové kódy

chore(replace-participant) Send `readyToClose` event when a replaced participant is kicked

- the embedding app can decide to dispose the iframe in this case
j8
hmuresan před 4 roky
rodič
revize
38b14c5d62
1 změnil soubory, kde provedl 4 přidání a 0 odebrání
  1. 4
    0
      conference.js

+ 4
- 0
conference.js Zobrazit soubor

@@ -2186,6 +2186,10 @@ export default {
2186 2186
                     id: localParticipant.id,
2187 2187
                     isReplaced
2188 2188
                 }));
2189
+
2190
+                // we send readyToClose when kicked participant is replace so that
2191
+                // embedding app can choose to dispose the iframe API on the handler.
2192
+                APP.API.notifyReadyToClose();
2189 2193
             }
2190 2194
             APP.store.dispatch(kickedOut(room, participant));
2191 2195
         });

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