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

Enable audio focus for music playback #4352

Merged
merged 1 commit into from
Dec 28, 2024

Conversation

nielsvanvelzen
Copy link
Member

@nielsvanvelzen nielsvanvelzen commented Dec 28, 2024

In Android multiple apps can be playing media at once, even with multiple media sessions. To avoid this an app should claim "audio focus". This way only the last app requesting audio focus can actually play audio. This helps when a user switches between media apps and is a best practice according to Android documentation.

Changes

  • Enable audio focus and set usage audio attribute

Issues

Part of #1057

@nielsvanvelzen nielsvanvelzen added enhancement New feature or request playback Issue related to media playback labels Dec 28, 2024
@nielsvanvelzen nielsvanvelzen added this to the v0.19.0 milestone Dec 28, 2024
@nielsvanvelzen nielsvanvelzen merged commit 0533d54 into jellyfin:master Dec 28, 2024
5 checks passed
@nielsvanvelzen nielsvanvelzen deleted the audio-focus branch December 28, 2024 22:12
@nielsvanvelzen nielsvanvelzen added the backportable Change may be backported to a point release (remove label once cherrypicked) label Dec 28, 2024
@nielsvanvelzen nielsvanvelzen modified the milestones: v0.19.0, v0.18.4 Jan 6, 2025
@nielsvanvelzen nielsvanvelzen removed the backportable Change may be backported to a point release (remove label once cherrypicked) label Jan 6, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request playback Issue related to media playback
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants