|
@@ -1303,6 +1303,9 @@ JitsiConference.prototype.replaceTrack = function(oldTrack, newTrack) {
|
1303
|
1303
|
// Now replace the stream at the lower levels
|
1304
|
1304
|
return this._doReplaceTrack(oldTrackBelongsToConference ? oldTrack : null, newTrack)
|
1305
|
1305
|
.then(() => {
|
|
1306
|
+ if (oldTrackBelongsToConference && !oldTrack.isMuted() && !newTrack) {
|
|
1307
|
+ oldTrack._sendMuteStatus(true);
|
|
1308
|
+ }
|
1306
|
1309
|
oldTrackBelongsToConference && this.onLocalTrackRemoved(oldTrack);
|
1307
|
1310
|
newTrack && this._setupNewTrack(newTrack);
|
1308
|
1311
|
|