feross / feross/simple-peer

Browser not supported error React Native 0.64.1

Open
#821 2 comments 0 reactions 0 assignees View on GitHub
Dominant language
JavaScript
Stars
7.8k
Forks
983
PR merge metrics
No merged PRs in 30d

Description

I tried to initialize simple-peer in react-native by using rn-nodeify.

Followed all the instructions given by rn-nodeify library but still got the Browser not supported error.

This is my code:

```
const peer = new Peer({
initiator: true,
wrtc: {
RTCPeerConnection,
RTCIceCandidate,
RTCSessionDescription,
RTCView,
MediaStream,
MediaStreamTrack,
mediaDevices,
registerGlobals,
},
trickle: false,
stream: stream,
});
```

Any solutions to this please?

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.