get voice PCM data from opensl es is all zero data

Hi,

we use PJSIP to develop a voip application in android OS. PJSIP use opensl to capture voice pcm data when recording. Now I meet a problem: opensl works well(there is no error report when call opensl API), but captured voice data is all zero data.
I want to know in which case this will happen. Can you help me?

BTW, where can I get opensl es source code? Maybe I can not get it. :slight_smile: I think the source code can help me fix this issue.

Thanks a lot!

BR
David

I forgot to say that use other application to record voice, it’s ok. So mic is ok!