How do I call Java code in unreal c++ using JNI?

This has capabilities of standard JNI so you should read the performance of that, like sending PCM stream using it. But why don’t you check AndroidVoiceModule source yourslef and see what it’s doing and try to replicate it potentially even thinking that module yourself, it might be something missing on resume. You might try stoping capture on app sleep and restart on wake up