|
@@ -1312,13 +1312,7 @@ JitsiConference.prototype.replaceTrack = function(oldTrack, newTrack) {
|
1312
|
1312
|
if ((oldTrackBelongsToConference && oldTrack?.isVideoTrack()) || newTrack?.isVideoTrack()) {
|
1313
|
1313
|
this._sendBridgeVideoTypeMessage(newTrack);
|
1314
|
1314
|
}
|
1315
|
|
-
|
1316
|
|
- // We do not want to send presence update during setEffect switching, which removes and then adds the same
|
1317
|
|
- // track back to the conference.
|
1318
|
|
- if (!(oldTrack?._setEffectInProgress || newTrack?._setEffectInProgress)) {
|
1319
|
|
- this._updateRoomPresence(this.getActiveMediaSession());
|
1320
|
|
- }
|
1321
|
|
-
|
|
1315
|
+ this._updateRoomPresence(this.getActiveMediaSession());
|
1322
|
1316
|
if (newTrack !== null && (this.isMutedByFocus || this.isVideoMutedByFocus)) {
|
1323
|
1317
|
this._fireMuteChangeEvent(newTrack);
|
1324
|
1318
|
}
|