在回答这个问题后,我得到了标题中的错误: https://stackoverflow.com/questions/66800919/react-native-unhandled-promise-rejection-typeerrornull-is-not-an-object-eva 有没有人能看到我在给出代码的资源中哪里出了问题? Error [TypeError: null is not an object (evaluating 'WebRTCModule.peerConnectionInit')]
我正在尝试在simple peer的构造函数中使用react-native-webrtc import wrtc from 'react-native-webrtc';
const peer = new SimplePeer({initiator: true, wrtc: wrtc}); 我得到的错误是 ExceptionsManager.js:179 Error: No WebRTC support: Not a supported browser
ERROR in objs/node_modules/@types/webrtc/RTCPeerConnection.d.ts (35,5): All declarations of 'type' mustERROR in objs/node_modules/@types/webrtc/RTCPeerConnection.d.ts (59,5): All declarations of 'candidateERROR in objs/nod