Skip to content

Commit

Permalink
fix(JingleSession) Allow addition of multiple tracks
Browse files Browse the repository at this point in the history
  • Loading branch information
jallamsetty1 committed Feb 11, 2025
1 parent 31897f9 commit 5c84d56
Showing 1 changed file with 0 additions and 4 deletions.
4 changes: 0 additions & 4 deletions modules/xmpp/JingleSessionPC.js
Original file line number Diff line number Diff line change
Expand Up @@ -1105,10 +1105,6 @@ export default class JingleSessionPC extends JingleSession {
Promise.reject(new Error('No tracks passed'));
}

if (localTracks.find(track => track.getType() !== MediaType.VIDEO)) {
return Promise.reject(new Error('Multiple tracks of the given media type are not supported'));
}

const replaceTracks = [];
const workFunction = finishedCallback => {
const remoteSdp = new SDP(this.peerconnection.remoteDescription.sdp, this.isP2P);
Expand Down

0 comments on commit 5c84d56

Please sign in to comment.