2

I want to implement call recording in my one app, So I have used below questions for reference:

Android Recording Incoming and Outgoing Calls

How To Record Incoming Call in android programmatically?

I am using below code to record a call

recorder.reset();
recorder.setAudioSource(MediaRecorder.AudioSource.MIC);
                       recorder.setOutputFormat(MediaRecorder.OutputFormat.DEFAULT);
                       recorder.setAudioEncoder(MediaRecorder.AudioEncoder.DEFAULT);

But I have also try to use different audio source and output format but it's not recording properly its recording one-sided call sometimes, and when changing to voice_call and voice_communication its not recording calls at all

In some thread, I found that in some devices it's not working properly but I found some apps in play store which works quite good

https://play.google.com/store/apps/details?id=com.appstar.callrecorder

Vadim Kotov
  • 8,084
  • 8
  • 48
  • 62
bindal
  • 1,940
  • 1
  • 20
  • 29

0 Answers0