Merge branch 'blackneck-master'

This commit is contained in:
Lyubomir Marinov 2016-10-18 09:05:46 -05:00
commit cf3ea2b8af
1 changed files with 1 additions and 1 deletions

View File

@ -257,7 +257,7 @@ function _getLocalTracksToChange(currentTracks, newTracks) {
if (newLocalAudio) { if (newLocalAudio) {
tracksToAdd.push(newLocalAudio); tracksToAdd.push(newLocalAudio);
currentLocalAudio && tracksToRemove.push(newLocalVideo); currentLocalAudio && tracksToRemove.push(currentLocalAudio);
} }
if (newLocalVideo) { if (newLocalVideo) {
tracksToAdd.push(newLocalVideo); tracksToAdd.push(newLocalVideo);