Permalink
Browse files

Revert: fix(JitsiConference): remove local track

  • Loading branch information...
paweldomas committed Feb 23, 2017
1 parent 3c39503 commit 872b705fe2bb8a56d9f4201dccae4cf690337c9f
Showing with 0 additions and 7 deletions.
  1. +0 −7 JitsiConference.js
View
@@ -554,13 +554,6 @@ JitsiConference.prototype.replaceTrack = function (oldTrack, newTrack) {
}
return Promise.resolve();
}, (error) => {
if (newTrack) {
// NOTE It's is unclear from this method perspective on where is
// the local track added, but it is added in _setupNewTrack
// Remove the local stream if the process fails
this.rtc.removeLocalTrack(newTrack);
}
return Promise.reject(new Error(error));
});
};

0 comments on commit 872b705

Please sign in to comment.