Permalink
Browse files

Fix MediaSession session-terminate handling.

Closes #315
  • Loading branch information...
legastero committed Feb 10, 2019
1 parent 9dc51c3 commit 82a33dcbb39816826ebe259d81010cd59c16bd6a
Showing with 1 addition and 1 deletion.
  1. +1 −1 src/jingle/MediaSession.js
@@ -231,7 +231,7 @@ export default class MediaSession extends ICESession {
for (const receiver of this.pc.getReceivers()) {
this.onRemoveTrack(receiver.track);
}
super.end(changes, cb);
super.onSessionTerminate(changes, cb);
}

onSessionInfo(info, cb) {

0 comments on commit 82a33dc

Please sign in to comment.