Skip to content

Request microphone permission when recording video#808

Merged
NikKovIos merged 1 commit intoYummypets:masterfrom
eerie444:microphone-permission
Apr 22, 2025
Merged

Request microphone permission when recording video#808
NikKovIos merged 1 commit intoYummypets:masterfrom
eerie444:microphone-permission

Conversation

@eerie444
Copy link
Copy Markdown
Contributor

YPVideoCaptureHelper supports capturing audio, but YPImagePicker does not request microphone permission. As a result, videos silently fail to include audio unless the client app preemptively requests audio permission prior to opening YPImagePicker.

In contrast, YPImagePicker does request photo library permission (in YPLibraryVC) and camera permission (in YPCameraVC and YPVideoCaptureVC). With this change, YPVideoCaptureVC also requests microphone permission, standardizing YPImagePicker's behavior across the three permissions.

YPVideoCaptureHelper supports capturing audio, but YPImagePicker does
not request microphone permission.  As a result, videos silently fail to
include audio unless the client app preemptively requests audio
permission prior to opening YPImagePicker.

In contrast, YPImagePicker does request photo library permission (in
YPLibraryVC) and camera permission (in YPCameraVC and YPVideoCaptureVC).
With this change, YPVideoCaptureVC also requests microphone permission,
standardizing YPImagePicker's behavior across the three permissions.
@NikKovIos NikKovIos merged commit 4c12762 into Yummypets:master Apr 22, 2025
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.

2 participants