fix tiny mistake on removing local tracks
This commit is contained in:
parent
da86cba7ea
commit
60eb76355b
|
@ -257,7 +257,7 @@ function _getLocalTracksToChange(currentTracks, newTracks) {
|
|||
|
||||
if (newLocalAudio) {
|
||||
tracksToAdd.push(newLocalAudio);
|
||||
currentLocalAudio && tracksToRemove.push(newLocalVideo);
|
||||
currentLocalAudio && tracksToRemove.push(currentLocalAudio);
|
||||
}
|
||||
if (newLocalVideo) {
|
||||
tracksToAdd.push(newLocalVideo);
|
||||
|
|
Loading…
Reference in New Issue