Procházet zdrojové kódy

fix(p2p) fix error if p2p session is stopped while accepting it

The _MEDIA_SESSION_STARTED would be emitted with `null` as the session, instead
of the original one.
dev1
Saúl Ibarra Corretgé před 4 roky
rodič
revize
8f1e4ee1ef
1 změnil soubory, kde provedl 1 přidání a 1 odebrání
  1. 1
    1
      JitsiConference.js

+ 1
- 1
JitsiConference.js Zobrazit soubor

@@ -2995,7 +2995,7 @@ JitsiConference.prototype._acceptP2PIncomingCall = function(
2995 2995
 
2996 2996
             this.eventEmitter.emit(
2997 2997
                 JitsiConferenceEvents._MEDIA_SESSION_STARTED,
2998
-                this.p2pJingleSession);
2998
+                jingleSession);
2999 2999
         },
3000 3000
         error => {
3001 3001
             logger.error(

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