react-native-webrtc-minimal
react-native-webrtc-minimal copied to clipboard
The simplest local-only implementation of react-native-webrtc possible.
react-native-webrtc-minimal
The most basic local-only implementation of react-native-webrtc possible.
- Start/Stop video call.
- Switch Video source before and during calls
- Mute/Unmute audio
- Uses functional components and React Native 0.63+
- ~~Uses Hermes instead of the full Javascript engine~~
Usage
- Clone the repository, run
npm install. - For Android, connect your phone run
npm run androidin the directory. - For iOS, consult a doctor,
cd ios && pod install, and finallynpm run ios. Note that iOS simulator doesn't support camera - Profit
Next Steps
- This repo is purposefully built for simple local-only calls. Not to demonstrate multiple devices, signalling servers, Janus integrations, etc... But you can start here to understand the basics of react-native-webrtc. For more advanced things, try searching the posts in the official discourse group