![]() ![]() ![]() Throwing errors in RTCPeerConnection.js polyfill.Īny help on resolving this bug with the polyfill is greatly appreciated. Media tracks from react native mobile app not being added. Check the errors on the screen and the logs in console.Įxpected media tracks to be sent and received across all conference participants.With this we are getting an error(screenshot provided below). The updated code for that is available at RTCPeerConnection2.js. The third approach we have tried is to rewrite the polyfill RTCPeerConnection.js as a class since we found a comment in RTCPeerConnection.js talking about not using class and extends due to a runtime error. On the mobile app, we are seeing an error(screenshot provided below). With this, we started seeing the mobile app camera stream on browser at /test1. The second approach was in the webrtc.js polyfill, we directly used the RTCPeerConnection that was imported from react-native-webrtc. The first approach we tried is to downgrade react and react-native versions to what were being used in the official jitsi-meet repo which did not solve the issue and had the same log. A Jitsi Meet server provides multi-person video conference rooms that you can access using with just your browser while providing comparable functionality to a Zoom or Skype conference call. We copied the whole polyfills folder from official Jitsi Meet repo and imported it in the index.js. Jitsi Meet is an open-source video-conferencing application based on WebRTC. We weren’t able to run the repo on ios after adding react-native-webrtc and we wanted to deal with it at another time. Pick your favorite repos to receive a different open issue. We are currently trying this only in android(react native app). The easiest way to get started contributing to Open Source javascript projects like jitsi-meet. We are able to join the same conferences on both browser and jitsi-meet official mobile app without any issues. For the purpose of this post, we can consider our self-hosted jitsi-meet to be located at. We have tried to solve this with multiple approaches described below but to no avail. As we can see in the logs, the error stack trace points to a set function in the RTCPeerConnection class. We have drilled down the issue to the polyfill RTCPeerConnection.js. We are getting the following error: TypeError: undefined is not an object (evaluating 'eventTarget') But we are unable to send or receive media tracks. We are able to join the call, send and receive messages. We are trying to build a react native jitsi meet client from scratch using lib-jitsi-meet. Description:įacing issue in integrating lib-jitsi-meet in react native. Firstly, thanks to the entire Jitsi team and the community for such an awesome project.
0 Comments
Leave a Reply. |