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
java android camera video-recording


source to share


No one has answered this question yet

Check out similar questions:

1492
Does Java support default parameter values?
13
How to turn off iPhone camera shutter sound?
8
Camera error "Cannot connect to camera" or on some phones the message "The camera is in use by another application" appears,
3
J2ME - using javax.microedition.amms.control.camera.CameraControl; can the shutter sound be turned off?
2
camera.takePicture () crashing my app
1
MediaRecorder showing camera preview for audio recording
1
MediaRecorder: stop failed: -1007
0
Disable camera shutter sound, AudioManager does not work in Samsung
0
How to uninstall MediaCapture without playing the shutter sound
0
Equivalent canDisableShutterSound method in Android Camera2 API



All Articles
Loading...
X
Show
Funny
Dev
Pics