英文:
Is there a way to record system sound with MediaRecorder in android?
问题
我有一个媒体录制器,我想要进行屏幕捕捉,但不需要麦克风音频,只需系统声音。
是否有方法可以禁用我的麦克风并捕捉系统声音?
mediaRecorder.setAudioSource(MediaRecorder.AudioSource.NEED_SYSTEM_AUDIO_RESOURCE_HERE);
英文:
I have a media recorder, and i want to take screen capture without mic audio, only with the system sound.
Is there some solution to disable my mic and to capture system sounds?
mediaRecorder.setAudioSource(MediaRecorder.AudioSource.NEED_SYSTEM_AUDIO_RESOURCE_HERE);
答案1
得分: 1
很遗憾,根据说明,设计上 MediaRecorder
仅接受预定义的音频源作为音频源。
英文:
Unfortunately not. By Design mediarecorder took as audiosource only the predefined ones as per instruction.
通过集体智慧和协作来改善编程学习和解决问题的方式。致力于成为全球开发者共同参与的知识库,让每个人都能够通过互相帮助和分享经验来进步。
评论