Wp76xx audio record call

Hello

I’m testing wp76xx audio record. I can record audio call, no problem.
I try record microphone, no problem.

I try record voice call, then I drive through tunnel, no reception, now I have no audio, even using local microphone. Do I have to reconnect audio stream again? But this adds seconds delay to start and stop of audio.

Any advice?

have you tried to use AT!AVAUDIO command to record the phone call?

I try with av!audio first, it works.
But when I try with legato audio api, then it crash my apps.

I try with av!audio=2,1,test.wav, and it works. Then I make voice call, it’s okay.
When I do av!audio=2,0 to stop record, it crashes my app.

Using OpenRecorder() to record audio stream call is okay, but I lose audio when no reception, like when driving through long tunnel. I think that local microphone should capture all audio, even with no reception, right?

how about using AT!AVAUDIO for your drive test?

I think at!avaudio works if I don’t use legato api.
I try with legato api only record local microphone in bad reception, and it records whole time, no silence.
I also want to listen to voice call. Can I not record and listen to voice call at same time?

what do you mean actually?

Why don’t you use this AVAUDIO command to record the conversation?

I want to listen to a voice call and record at same time.
When the voice call have no reception and disconnects, I want the record to continue recording audio.
I can use AT!AVAUDIO=4 or 2 to record the audio, but I want to listen to the voice call also.

Audio legato api doesn’t work well with AT commands, I think

I want to listen to a voice call and record at same time.

Didn’t AT!AVAUDIO=4 can so this?

When the voice call have no reception and disconnects, I want the record to continue recording audio. I can use AT!AVAUDIO=4 or 2 to record the audio, but I want to listen to the voice call also.

did you receive the NO CARRIER which shows the voice call has been disconnected?
If the voice call has been disconnected, you need to stop the call recording and start again with AT!AVAUDIO=2

You better write down the full test procedure with AT command usage

Audio legato api doesn’t work well with AT commands

Suggest you make it work with AT command first, then you can send AT command in the legato application