Skip to content

Commit

Permalink
Fix MediaSession session-terminate handling.
Browse files Browse the repository at this point in the history
Closes #315
  • Loading branch information
legastero committed Feb 10, 2019
1 parent 9dc51c3 commit 82a33dc
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/jingle/MediaSession.js
Expand Up @@ -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) {
Expand Down

0 comments on commit 82a33dc

Please sign in to comment.