react-native-peerjs
react-native-peerjs copied to clipboard
"PeerConnectionAddedStream is not a supported event type for WebRTCModule" when constructing a Peer() instance
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:
Any idea how to fix this?