Skip to content

Commit

Permalink
ios: fix match in removeTrack
Browse files Browse the repository at this point in the history
  • Loading branch information
haisamMH committed Oct 12, 2022
1 parent 30ef8d3 commit 40b823d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion ios/RCTWebRTC/WebRTCModule+RTCPeerConnection.m
Original file line number Diff line number Diff line change
Expand Up @@ -498,7 +498,7 @@ @implementation WebRTCModule (RTCPeerConnection)
RTCRtpTransceiver *transceiver = nil;

for (RTCRtpTransceiver *t in peerConnection.transceivers) {
if (t.sender.senderId == senderId) {
if([t.sender.senderId isEqual: senderId])
transceiver = t;
break;
}
Expand Down

0 comments on commit 40b823d

Please sign in to comment.