Video confence app for the ionic 5(angular/cordova) using webrtc. this app is worked with the ios, android and web.
clone this repo
git clone https://github.com/abhayjaniit/ionic5-webrtc-demo.gitthis app is used firebase as the backend you need to set your firebase config in the app.module.ts file.
Install node modules
npm installAdd android platform
$ ionic cordova platform add androidBefore runnig with the android need to set the permission strings in AndroidManifest.xml here is the strings
<uses-permission android:name="android.permission.CAMERA" />
<uses-permission android:name="android.permission.RECORD_AUDIO" />
<uses-permission android:name="android.permission.MODIFY_AUDIO_SETTINGS" />
<uses-permission android:name="android.permission.WRITE_EXTERNAL_STORAGE" />Run android
$ ionic cordova run androidBefore add ios platform need to install plugin iOSRTC for the provide upport of webrtc on wkwebview.
$ ionic cordova plugin add cordova-plugin-iosrtc --saveAnd also need to install webrtc-adpter.js for the partialy dependency
$ npm i webrtc-adapter --saveAdd ios platform
$ ionic cordova platform add iosRun ios
$ ionic cordova build iosOpen xcode and run you ios app with your device not in emulator. Because ios emulator dose not support camera and your app maybe crash with the emulator. app is tested with the android 10, ios 13.
To test app on the browser just serve app using
$ ionic serve