react-native-camera icon indicating copy to clipboard operation
react-native-camera copied to clipboard

Is there a way to turn off capture sound?

Open bvv218 opened this issue 8 years ago • 4 comments

bvv218 avatar Feb 23 '18 04:02 bvv218

there is a mute option on RNCamera

sibelius avatar Feb 23 '18 04:02 sibelius

@sibelius It doesn't seem to work when you take pictures. Doesn't it mute sound of videos only?

bvv218 avatar Feb 23 '18 05:02 bvv218

Not on iOS, this is enforced by the operating system. I saw some notes on turning off the shutter sound for Android somewhere. Apparently it's law in Japan that phone cameras must make a sound so that people can't surreptitiously take photos.

ajaxmac avatar Feb 23 '18 05:02 ajaxmac

ios has the prop captureAudio as false as default. If you want to capture audio, pass true read the doc https://github.com/react-native-community/react-native-camera/blob/master/docs/RNCamera.md

jgfidelis avatar Feb 23 '18 15:02 jgfidelis