how to mute and un mute microphone in video recording in android?

619 views Asked by At

I'm recording a video with the camera, using the MediaRecorder class and I want while recording, to be able to mute/unmute microphone at some point.

How's that possible?

I'm setting the audio source at start

mMediaRecorder.setAudioSource(MediaRecorder.AudioSource.CAMCORDER);
mMediaRecorder.setVideoSource(MediaRecorder.VideoSource.CAMERA);
0

There are 0 answers