Support React Native directly
Or better yet, I wonder if changes could be made to this repo to make it work in both the browser and RN. I feel like it wouldn't require a lot of changes to achieve that, but not sure.
Originally posted by @matallui in https://github.com/peers/peerjs/issues/928#issuecomment-1528830691
Thanks for creating this @jonasgloning!
I'm happy to help working on this, if I can get some guidance.
I'm pretty familiarized with the peerjs code, the part that I struggle with the most is the build/packaging system.
👋 react-native-webrtc maintainer here. We currently support Unified Plan and the transceivers API, so it should be possible to use it out of the box, as if it were a browser.
In case there is a missing API (we do not cover 100%) please do reach out to us!