Skip to content

Support beginning a video recording with the microphone muted#553

Open
drift8797 wants to merge 1 commit intoGrapheneOS:mainfrom
drift8797:main
Open

Support beginning a video recording with the microphone muted#553
drift8797 wants to merge 1 commit intoGrapheneOS:mainfrom
drift8797:main

Conversation

@drift8797
Copy link

Now that the app is using CameraX 1.5, it is possible to set an initial muted state when recording a video. This PR makes it so that the microphone mute icon displays at all times in video mode, unless the Include Audio toggle is disabled.

Unlike Include Audio, this setting does not persist. This makes it useful as a quicker way to disable audio for a one-off recording or to start a recording muted and unmute audio only at a later time.

One downside compared to disabling Include Audio is that an audio track is always included regardless of whether the microphone was ever unmuted (it will be completely silent if muted for the entire recording). For videos meant to not have any audio, this uses additional storage and might display differently in some players, so I don't think this should replace the Include Audio toggle.

Loading
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants