- Home /
How to play sound during screenshot, even when device muted
Due to legal reasons here in Japan, our app (iOS/Android) must play a sound when the camera is activated, even when the device is in silent/manner mode.
The issue: We are using Application.CaptureScreenshot for the actual screen capture, and this would capture an object overlaid with the camera feed. As technically the camera is not being used, the shutter sound fails to fire.
Any ideas on how may we either override or ignore the device mute in Unity in order to play a sound when the screen capture is taken?
I highly doubt that is possible. It really makes no sense playing a sound when the device is muted. However I could be wrong.
Can you also use the official "camera snap" API, just for the sound, and ignore/erase the result?
Answer by Wolfram · May 16, 2014 at 04:24 PM
Haven't looked into the details, but this claims to do what you want:
Your answer
![](https://koobas.hobune.stream/wayback/20220613082220im_/https://answers.unity.com/themes/thub/images/avi.jpg)
Follow this Question
Related Questions
Share Screenshot Image to Facebook with Facebook SDK 0 Answers
Facebook app review for screenshot share 0 Answers
Screenshot on iOS and Android not working 1 Answer
Save Screenshot and Show it in Gallery (iOS & Android) 3 Answers
Cannot build the application neither for Android not for iOS 2 Answers