Hi,
I have webrtc integrated in my project and it has been working great with all the devices that I support. Lately I had to support a new device with x86 arch (all the previous devices were armv7) and running android 6 and video calls in my app keep failing with the following errors:
AudioRecord.startRecording failed - incorrect state :1
AudioRecord: start() status -38
I googled and looked on stackoverflow and everybody mentioned that it has to do with the permissions.
I have granted the permissions (CAMERA, RECORD_AUDIO, MODIFY_AUDIO_SETTINGS) for Android M and I do have checks if the permissions are granted and there are no problems with that.
I am running the latest release M59.
What is driving me crazy is that AppRTC x86 build runs perfectly fine on that device except where twice I got the error mentioned above but a device reboot fixed it.
Any help would be greatly appreciated.
Thanks!