react-native-peerjs icon indicating copy to clipboard operation
react-native-peerjs copied to clipboard

"PeerConnectionAddedStream is not a supported event type for WebRTCModule" when constructing a Peer() instance

Open alaaamady opened this issue 2 years ago • 0 comments

I'm using Expo@46 to create a simple video calling app, I have installed react-native-webrtc and set it up according to this Expo guide, and I'm trying to use react-native-peerjs alongside it, but as soon as I initiate an instance like so: import Peer from "react-native-peerjs"; const localPeer = new Peer(); I get the error in this screenshot: image Any idea how to fix this?

alaaamady avatar Oct 18 '22 08:10 alaaamady