diff --git a/ios/RCTWebRTC/WebRTCModule+RTCPeerConnection.m b/ios/RCTWebRTC/WebRTCModule+RTCPeerConnection.m index a746a050a..5d62bc64c 100644 --- a/ios/RCTWebRTC/WebRTCModule+RTCPeerConnection.m +++ b/ios/RCTWebRTC/WebRTCModule+RTCPeerConnection.m @@ -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; }