WebRTC-Experiment
WebRTC-Experiment copied to clipboard
Problem with RecordRTC in android webview!?
Hi,
I build a very simple android applicaion consist of webview fullscreen showing this URL https://www.webrtc-experiment.com/RecordRTC/ to test the RecordRTC on android.
WI realised 2 issues:
1- When it loads it is showing "Audio" instead of "Microphone + Camera" in the combobox,
2- When I Click on Start Recording, It shows me "Permission denied
However, All permissions are granted:
<uses-feature android:glEsVersion="0x00020000"/> <uses-permission android:name="android.permission.CAMERA"/> <uses-feature android:name="android.hardware.camera" android:required="false"/> <uses-feature android:name="android.hardware.camera.autofocus" android:required="false"/> <uses-feature android:name="android.hardware.camera.front" android:required="false"/> <uses-feature android:name="android.hardware.touchscreen" android:required="false"/> <uses-feature android:name="android.hardware.touchscreen.multitouch" android:required="false"/> <uses-feature android:name="android.hardware.touchscreen.multitouch.distinct" android:required="false"/> <uses-permission android:name="android.permission.ACCESS_NETWORK_STATE"/> <uses-permission android:name="android.permission.CHANGE_NETWORK_STATE"/> <uses-permission android:name="android.permission.RECORD_AUDIO"/> <uses-permission android:name="android.permission.MODIFY_AUDIO_SETTINGS"/> <uses-permission android:name="android.permission.INTERNET" /> <uses-permission android:name="android.permission.WRITE_EXTERNAL_STORAGE" />
Any idea on how to make it works?
Note: When I load the url in chrome on android, it works perfectly.
I have the same issues
@hassanayoub85 , were you able to get RecorRTC running in android webview. I'm trying to work on the same thing.