We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents b1be538 + 9e28f50 commit 4f71c61Copy full SHA for 4f71c61
modules/RTC/JitsiLocalTrack.ts
@@ -1097,6 +1097,8 @@ export default class JitsiLocalTrack extends JitsiTrack {
1097
await this.conference._removeLocalTrackFromPc(this);
1098
}
1099
1100
+ const isMuted = this.isMuted();
1101
+
1102
if (hasAudioMixEffect) {
1103
this._stopStreamEffect();
1104
@@ -1153,6 +1155,10 @@ export default class JitsiLocalTrack extends JitsiTrack {
1153
1155
this._startStreamEffect(this._streamEffect);
1154
1156
1157
1158
+ if (isMuted) {
1159
+ this._setMuted(true);
1160
+ }
1161
1162
if (hasConference) {
1163
logger.debug(`Adding track ${this} to conference`);
1164
await this.conference._addLocalTrackToPc(this);
0 commit comments