Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Feature for Disabling Camera Shutter Sound #26960

Closed
xipengshen opened this issue Jan 23, 2019 · 17 comments
Closed

Feature for Disabling Camera Shutter Sound #26960

xipengshen opened this issue Jan 23, 2019 · 17 comments
Labels
c: new feature Nothing broken; request for a new capability p: camera The camera plugin P3 Issues that are less important to the Flutter project package flutter/packages repository. See also p: labels.

Comments

@xipengshen
Copy link

xipengshen commented Jan 23, 2019

I don't see the feature in Camera plugin for disabling the picture taking sound (the shutter sound). In apps that use camera to continuously taking pictures, the shutter sound is very annoying. Can the feature be added?

@zoechi zoechi added c: new feature Nothing broken; request for a new capability plugin p: camera The camera plugin labels Jan 23, 2019
@zoechi zoechi added this to the Goals milestone Jan 23, 2019
@tigrenok00

This comment was marked as off-topic.

@tuanha2000vn

This comment was marked as off-topic.

@kentcb
Copy link
Contributor

kentcb commented Feb 20, 2020

I can't see this ever being added because iOS simply doesn't support it - it always plays the camera shutter sound and has no API to turn it off. The going workaround is to start a video stream and capture an image from that instead.

@tatashidayat
Copy link

Does it happen on iOS only?
Because I have tried on Android, it doesn't play the shutter sound.

@kf6gpe kf6gpe added the P2 Important issues not at the top of the work list label May 29, 2020
@Hixie Hixie removed this from the None. milestone Aug 17, 2020
@stefanodecillis

This comment was marked as off-topic.

@ElochukwuPrince

This comment was marked as off-topic.

@thanhtungtvg95
Copy link

Using record video for replacing method. Set timer to stop recording. Then using export_video_frame plugin to get image

@Komal-Khairnar

This comment was marked as off-topic.

@tushar0518

This comment was marked as off-topic.

@ChangJoo-Park

This comment was marked as off-topic.

@ljmatan
Copy link

ljmatan commented Dec 6, 2021

Don't quote me on Apple guidelines, but what you can do while taking a photo is play a blank sound, and the shutter sound will be off. Blank sound file: https://d1sz9tkli0lfjq.cloudfront.net/items/0Y3Z0A1j1H2r1c0z3n3t/blank.wav

@luomo-pro
Copy link

Is this making any progress?
I'm writing a 1 second snapshot application and the shutter sound is awful.
@ljmatan
I've tried using audio_plays to play this blank sound, but it doesn't seem to mask the camera shutter sound.
Is there anything else I can do?

@ljmatan
Copy link

ljmatan commented Jan 20, 2022

@luomo-pro blank sound worked for me, if it doesn't work for you, I'd advise you use startImageStream method and go from there (please keep in mind it crashes the app after flutter v2.5.3 -> #94723)

@luomo-pro
Copy link

hi
@ljmatan
Thanks for your reply.
My application needs to use image data in jpg format, and there seems to be no way to convert image stream directly to normal image.
Do you know of a way to convert it?
Also what method are you using to play blank audio? Can you provide the code snippet?
I'm using the audioPlays package, but it doesn't seem to work, so I don't know if I'm playing at the wrong time.
Thank you very much!

@stuartmorgan stuartmorgan added P3 Issues that are less important to the Flutter project and removed P2 Important issues not at the top of the work list labels Mar 3, 2022
@panksi
Copy link

panksi commented Oct 19, 2022

Don't quote me on Apple guidelines, but what you can do while taking a photo is play a blank sound, and the shutter sound will be off. Blank sound file: https://d1sz9tkli0lfjq.cloudfront.net/items/0Y3Z0A1j1H2r1c0z3n3t/blank.wav

Can you explain how you implemented this? I want to try it out! thanks

@stuartmorgan
Copy link
Contributor

Closing, since this is not supported by the underlying SDK, and thus not something that can be implemented in the plugin wrapping it.

@stuartmorgan stuartmorgan closed this as not planned Won't fix, can't repro, duplicate, stale Mar 26, 2023
@github-actions
Copy link

github-actions bot commented Apr 9, 2023

This thread has been automatically locked since there has not been any recent activity after it was closed. If you are still experiencing a similar issue, please open a new bug, including the output of flutter doctor -v and a minimal reproduction of the issue.

@github-actions github-actions bot locked as resolved and limited conversation to collaborators Apr 9, 2023
@flutter-triage-bot flutter-triage-bot bot added the package flutter/packages repository. See also p: labels. label Jul 5, 2023
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
c: new feature Nothing broken; request for a new capability p: camera The camera plugin P3 Issues that are less important to the Flutter project package flutter/packages repository. See also p: labels.
Projects
None yet
Development

No branches or pull requests