peerjs icon indicating copy to clipboard operation
peerjs copied to clipboard

Support React Native directly

Open jonasgloning opened this issue 2 years ago • 2 comments

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

jonasgloning avatar Apr 29 '23 17:04 jonasgloning

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.

matallui avatar Apr 29 '23 17:04 matallui

👋 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!

saghul avatar Jun 13 '23 13:06 saghul