@appsocom/react-native
v0.6.3
Published
React Native client for Appsocom Live: join rooms, camera and mic, video grid and controls (on react-native-webrtc)
Maintainers
Readme
@appsocom/react-native
React Native client for Appsocom Live video calls on iOS and Android: join rooms, camera and mic, video grid and controls, built on react-native-webrtc. It talks the same room protocol as the web and Flutter clients, so everyone can be in the same call.
npm install @appsocom/react-native react-native-webrtcimport { VideoConference, requestMediaPermissions } from "@appsocom/react-native";
await requestMediaPermissions(); // Android runtime permissions
<VideoConference url="https://api.appsocom.dev" token={token} onLeft={() => navigation.goBack()} />The same components and hooks exist as in @appsocom/react. Long-press a tile for teacher controls.
Setup:
- iOS 13+: add
NSCameraUsageDescriptionandNSMicrophoneUsageDescriptiontoInfo.plist, and theaudiobackground mode to keep calls going in the background. - Android:
CAMERA,RECORD_AUDIO,MODIFY_AUDIO_SETTINGS,INTERNETandACCESS_NETWORK_STATE, withminSdkVersion24.
Guide: UI kits
Docs: docs.appsocom.dev · License: MIT
