Skip to content

Commit

Permalink
fix(tracks): Do not filter the tracks for p2p.
Browse files Browse the repository at this point in the history
The tracks should get removed if the startAudioMuted/startVideoMuted flags are set for the conference. Fixes the failing startMuted testcase.
  • Loading branch information
jallamsetty1 committed Feb 27, 2024
1 parent ff4dd99 commit 639ad56
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions JitsiConference.js
Original file line number Diff line number Diff line change
Expand Up @@ -2910,7 +2910,7 @@ JitsiConference.prototype._acceptP2PIncomingCall = function(jingleSession, jingl
enableInsertableStreams: this.isE2EEEnabled() || FeatureFlags.isRunInLiteModeEnabled()
});

const localTracks = this._getInitialLocalTracks();
const localTracks = this.getLocalTracks();

this.p2pJingleSession.acceptOffer(
jingleOffer,
Expand Down Expand Up @@ -3253,7 +3253,7 @@ JitsiConference.prototype._startP2PSession = function(remoteJid) {
enableInsertableStreams: this.isE2EEEnabled() || FeatureFlags.isRunInLiteModeEnabled()
});

const localTracks = this._getInitialLocalTracks();
const localTracks = this.getLocalTracks();

this.p2pJingleSession.invite(localTracks);
};
Expand Down

0 comments on commit 639ad56

Please sign in to comment.