Can the audio stream output from the earpiece during a call be captured?
I am looking to develop an application and would like to know if the earpiece audio output can be c开发者_JAVA技巧aptured.
Thanks, Matt
Looking at the documentation for MediaRecorder.AudioSource
I would say that this should be possible using the VOICE_DOWNLINK
source.
MediaRecorder recorder = new MediaRecorder();
recorder.setAudioSource(MediaRecorder.AudioSource.VOICE_DOWNLINK);
精彩评论