Mute MediaRecorder by default in camcorder applications

I am currently developing an android camera / camcorder application and I am looking to play my own sounds when capturing videos and images.

I am using the Camera API (not Camera2, I will use that later) to develop an application

When taking pictures using Camera.takePicture (), I have successfully disabled the shutter sound using CameraInfo.canDisableShutterSound () and Camera.enableShutterSound (false)

When capturing a video, though, once I have a MediaRecorder object starting to capture frames, by default the "bloop" noise is played at the same time as mine. Is there a way to disable the MediaRecorder sound similar to Camera.enableShutterSound (false) that is missing from the API docs? Is there a system parameter that I can request to change from within my application? Or am I out of luck?

+3


source to share





All Articles