title: Call recorder not working in android 10 (Q)
body: <p>Call recorder is recording blank for the duration in Android 10 (Pixel 3A). It was working fine for all phones till Android 8 and in Android 9 most phones were recording only one side voice (however it was working fine in pixel 3A)</p>
  
  <p>Is there any way to record calls in Android 10? </p>
  
  <p>The below code doesn't seem to be working anymore. </p>
  
  <pre><code>    int audioSource = MediaRecorder.AudioSource.VOICE_CALL;
      mediaRecorder.setAudioSource(audioSource);
      mediaRecorder.setOutputFormat(MediaRecorder.OutputFormat.MPEG_4);
      mediaRecorder.setAudioEncoder(MediaRecorder.AudioEncoder.AAC);
      mediaRecorder.setAudioEncodingBitRate(32);
      mediaRecorder.setAudioSamplingRate(44100);
      mediaRecorder.setOutputFile(MediaUri);
      mediaRecorder.prepare();
      mediaRecorder.start();
  </code></pre>
  
  <p>If SDK 28 or below is used call recording happens for the whole duration but without any voice. If SDK 29 is used call recording fails at the beginning saying check available audio from callback. </p>
  
  <p>I hope its a bug in Google Android 10 and some patch will fix it. </p>