webrtcai-rn
v1.0.0
Published
meeting room solution for react native
Downloads
1
Readme
rn-webrtcai
Meeting room solution for react native with webrtc
Installation
npm install webrtcai-rn
Android setup
Permission
Add these permissions in androidmanifest.xml
<uses-permission android:name="android.permission.INTERNET" />
<uses-permission android:name="android.permission.CAMERA" />
<uses-feature android:name="android.hardware.camera" />
<uses-feature android:name="android.hardware.camera.autofocus"/>
<uses-permission android:name="android.permission.ACCESS_NETWORK_STATE"/>
<uses-permission android:name="android.permission.BLUETOOTH" />
<uses-permission android:name="android.permission.MODIFY_AUDIO_SETTINGS" />
<uses-permission android:name="android.permission.RECORD_AUDIO" />
<uses-permission android:name="android.permission.WAKE_LOCK" />
<uses-permission android:name="android.permission.WRITE_EXTERNAL_STORAGE"/>
<uses-permission android:name="android.permission.SYSTEM_ALERT_WINDOW" />
gradle.properties
Add these lines to your android/gradle.properties
android.enableDexingArtifactTransform.desugaring=false
IOS setup
Usage
import WebRTCai from "@sam42dev/webrtcai-rn";
// ...
WebRTCai.init_session('FIREBASE_AUTH', sessionId, userId, 'warn', idTokenFromGoogleUser)
Contributing
See the contributing guide to learn how to contribute to the repository and the development workflow.
License
MIT