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

[Video] Say No to Audio (Disable expo-video AudioSession management) #5101

Merged
merged 2 commits into from
Sep 3, 2024

Conversation

haileyok
Copy link
Contributor

@haileyok haileyok commented Sep 3, 2024

Why

We're managing AudioSession state on our own through PlatformInfo. This lets us decide what to do when we want to do it, rather than relying on Expo's hardcoded management.

Test Plan

Test different ways of starting/stopping video audio playback while background audio is playing on iOS. Things shouldn't get borked, even between backgrounding and foregrounding the app.

Copy link

render bot commented Sep 3, 2024

Copy link

github-actions bot commented Sep 3, 2024

The Pull Request introduced fingerprint changes against the base commit:

Fingerprint diff
[{"type":"dir","filePath":"node_modules/expo-video/ios","reasons":["expoAutolinkingIos"],"hash":"6f72e030f58f0d304ca6bcf64549ea3de10392e7"},{"type":"dir","filePath":"patches","reasons":["patchPackage"],"hash":"889d6edebec570bf13443b7ca390d128c9cf0db1"}]

Generated by PR labeler 🤖

Copy link

github-actions bot commented Sep 3, 2024

Old size New size Diff
7.09 MB 7.09 MB 0 B (0.00%)

@haileyok haileyok changed the title Say No to Audio (Disable expo-video AudioSession management) [Video] Say No to Audio (Disable expo-video AudioSession management) Sep 3, 2024
@haileyok haileyok requested a review from mozzius September 3, 2024 08:58
Copy link
Member

@mozzius mozzius left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

looks good in theory, let's test on TestFlight

@haileyok haileyok merged commit 05e6134 into main Sep 3, 2024
6 checks passed
@haileyok haileyok deleted the hailey/say-no-to-audio branch September 3, 2024 15:33
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