Open bijesh-pv opened 5 years ago
Hi,
I think your app is missing audio record permissions.
Brian
Hi Brain,
We have already added the audio record permissions
Thanks & Regards Bijesh
Unfortunately I don't have the device to test on so I can't really say. Your best bet would be to modify the source code and try to stop the crash. You might have luck trying different sample rates or depths.
Hi,
Will tried to receive the audio QR using the Asus device (Asus T00J) and the application is crashing. OS : Android Version 5.0 (Lollipop) Device Details : https://www.gsmarena.com/asus_zenfone_5_a500cg_(2014)-5952.php
The crash details from the log : AUDIO_INPUT_FLAG_FAST denied by client A/libc: Fatal signal 4 (SIGILL), code 2, fault addr 0xa042c885 in tid 8138 (AudioRecord)
The code for receiving is receiver.setBlocking(5, 0); byte[] buf = new byte[1024]; try { recvLen = receiver.receive(buf); } catch (Exception e) {
e.printStackTrace(); }
We are getting the Fatal error from the JNI and unable to catch in the java.
Could you please help on solving this issue.