开发者

Can the audio stream output from the earpiece during a call be captured?

开发者 https://www.devze.com 2022-12-19 00:15 出处:网络
I am looking to develop an application and would like to know if the earpiece audio output can be c开发者_JAVA技巧aptured.

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);
0

精彩评论

暂无评论...
验证码 换一张
取 消