Преглед изворни кода

fix(JitsiConference): reset JingleSession on the room instance

Not doing so will cause issues when trying to mute after
'session-terminate', because the PeerConnection is closed and should not
be used anymore.
dev1
paweldomas пре 9 година
родитељ
комит
108ed509fb
1 измењених фајлова са 2 додато и 0 уклоњено
  1. 2
    0
      JitsiConference.js

+ 2
- 0
JitsiConference.js Прегледај датотеку

@@ -869,6 +869,8 @@ JitsiConference.prototype.onCallEnded
869 869
     if (this.statistics) {
870 870
         this.statistics.stopRemoteStats();
871 871
     }
872
+    // Current JingleSession is invalid so set it to null on the room
873
+    this.room.setJingleSession(null);
872 874
     // Let the RTC service do any cleanups
873 875
     this.rtc.onCallEnded();
874 876
     // PeerConnection has been closed which means that SSRCs stored in

Loading…
Откажи
Сачувај