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

[iOS] Fix: Audio always mute after resume from background #13

Conversation

SamiXSous
Copy link

Setting AVAudioSession.Category to playback instead of ambient in the iOS class does not mute volume when app comes back from background.

This only happend when using the listener function

Volume controller().listener()

Fixes #4

@kurenai7968 kurenai7968 merged commit b4e6c68 into kurenai7968:master Aug 24, 2022
@SamiXSous SamiXSous deleted the fix/audio-always-mute-after-resume-from-background-ios branch August 24, 2022 12:32
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.

Audio always mute after resume from background
2 participants