Skip to content

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

@alaaamady

Description

@alaaamady

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?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions