Skip to content

Commit b8aacec

Browse files
committed
Fix typo in f5840a
When filtering SSRCes we were running the filter operation on the source slice and not the filtered slice. Causing us to ignore all the filter operations that had been previously run.
1 parent f5840a7 commit b8aacec

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

peerconnection.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1235,7 +1235,7 @@ func (pc *PeerConnection) startRTPReceivers(incomingTracks []trackDetails, curre
12351235
for _, track := range receiver.Tracks() {
12361236
for _, ssrc := range incomingTrack.ssrcs {
12371237
if ssrc == track.SSRC() {
1238-
filteredTracks = filterTrackWithSSRC(incomingTracks, track.SSRC())
1238+
filteredTracks = filterTrackWithSSRC(filteredTracks, track.SSRC())
12391239
}
12401240
}
12411241
}

0 commit comments

Comments
 (0)