Skip to content

Commit

Permalink
fix(conference): Signal muted tracks on join when ssrc-rewriting is e…
Browse files Browse the repository at this point in the history
…nabled.
  • Loading branch information
jallamsetty1 committed Mar 12, 2024
1 parent 4e93e86 commit a7dc6db
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion JitsiConference.js
Original file line number Diff line number Diff line change
Expand Up @@ -2215,7 +2215,11 @@ JitsiConference.prototype._acceptJvbIncomingCall = function(jingleSession, jingl
// Open a channel with the videobridge.
this._setBridgeChannel(jingleOffer, jingleSession.peerconnection);

const localTracks = this._getInitialLocalTracks();
// When ssrc-rewriting is enabled, muted sources that are signaled to Jicofo will not create a broadcast storm.
// Therefore, it is ok to signal all the tracks to Jicofo. In the legacy mode, we do not want to signal any
// tracks that are muted at join time.
const localTracks = FeatureFlags.isSsrcRewritingSupported()
? this.getLocalTracks() : this._getInitialLocalTracks();

try {
jingleSession.acceptOffer(
Expand Down

0 comments on commit a7dc6db

Please sign in to comment.