react-native-webrtc 118.0.6 → 118.0.7
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
|
@@ -483,8 +483,6 @@ class PeerConnectionObserver implements PeerConnection.Observer {
|
|
|
483
483
|
params.putInt("pcId", this.id);
|
|
484
484
|
params.putString("receiverId", receiver.id());
|
|
485
485
|
|
|
486
|
-
remoteTracks.remove(receiver.id());
|
|
487
|
-
|
|
488
486
|
webRTCModule.sendEvent("peerConnectionOnRemoveTrack", params);
|
|
489
487
|
});
|
|
490
488
|
};
|
|
@@ -927,8 +927,6 @@ RCT_EXPORT_BLOCKING_SYNCHRONOUS_METHOD(peerConnectionRemoveTrack
|
|
|
927
927
|
params[@"pcId"] = peerConnection.reactTag;
|
|
928
928
|
params[@"receiverId"] = rtpReceiver.receiverId;
|
|
929
929
|
|
|
930
|
-
[peerConnection.remoteTracks removeObjectForKey:rtpReceiver.receiverId];
|
|
931
|
-
|
|
932
930
|
[self sendEventWithName:kEventPeerConnectionOnRemoveTrack body:params];
|
|
933
931
|
});
|
|
934
932
|
}
|