From f44297a7315b7e3d4eccddf3a5b5a371cfaeead2 Mon Sep 17 00:00:00 2001 From: Johannes Klein Date: Mon, 24 Jun 2024 14:23:07 +0200 Subject: [PATCH] Disable shutter sound --- src/components/Camera/hooks/useTakePhoto.ts | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/src/components/Camera/hooks/useTakePhoto.ts b/src/components/Camera/hooks/useTakePhoto.ts index e4dfcc106..7ebee64c4 100644 --- a/src/components/Camera/hooks/useTakePhoto.ts +++ b/src/components/Camera/hooks/useTakePhoto.ts @@ -31,7 +31,9 @@ const useTakePhoto = ( const hasFlash = device?.hasFlash; const initialPhotoOptions = { - enableShutterSound: true, + // We had this set to true in Seek but received many reports of it not respecting OS-wide sound + // level and scared away wildlife. So maybe better to just disable it. + enableShutterSound: false, ...( hasFlash && { flash: "off" } as const ) } as const; const [takePhotoOptions, setTakePhotoOptions] = useState( initialPhotoOptions );