AudioPlaybackCapture API 用于通话录音

AudioPlaybackCapture API for call recording

是否可以使用AudioPlaybackCaptureAPI进行通话录音?

不可以,但可以通过另一个 API 进行通话录音。该应用必须为 MediaRecorder.AudioSource 指定 VOICE_CALL 媒体源并具有 CAPTURE_AUDIO_OUTPUT 权限。请参阅 doc. Although, call recording might intentionally be broken depending on the device target market due to legal restrictions, see this question.