Browse Source

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é 4 years ago
parent
commit
8f1e4ee1ef
1 changed files with 1 additions and 1 deletions
  1. 1
    1
      JitsiConference.js

+ 1
- 1
JitsiConference.js View File

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

Loading…
Cancel
Save