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

Android app stops audioplayback if a picture-entity card is present with video stream #4978

Closed
lodesmets opened this issue Jan 14, 2025 · 5 comments
Labels
bug Something isn't working

Comments

@lodesmets
Copy link

Ever since HA introduced webRTC, if I have music playing on my phone, and open the HA companion app, the audio stops playing.
On my dashboard I have a picture-entity card with video stream (doorbell).

But the card doesn't play any audio if I haven't clicked it to open the stream. If I click the picture-entity card and it opens the stream with audio this would be expected, but not when just opening the app.

Home Assistant Android app version(s):
2025.1.2- full

Android version(s):
14

Device model(s):
Samsung A54 5G

Home Assistant version:
2025.1.1 (but issue started before this version)

Last working Home Assistant release (if known):
The issue came when HA introduced webRTC (so versions before 2024.11 worked fine)

Companion App Logs:
homeassistant_companion_log_0-14-2025_10-49-29.txt

@lodesmets lodesmets added the bug Something isn't working label Jan 14, 2025
@jpelgrom
Copy link
Member

Can you try opening the same dashboard in Chrome on your phone, to see if it also pauses audio? That will help us determine if this is an app specific issue or part of the frontend.

@lodesmets
Copy link
Author

Hey, In the browser (chrome on android) it doesn't stop the audioplayback when opening the dashboard. But it stops audioplayback when clicking the card (and opening the stream).
This is how I expect it to work

@dshokouhi
Copy link
Member

hmm think this may still apply here? home-assistant/frontend#23230

we dont really have much control over the frontend here

@rotarypot
Copy link

rotarypot commented Jan 20, 2025

I have the exact same issue in the same circumstances as @lodesmets , my workaround is using the snapshots entity from the camera since it doesn't have audio.

@jpelgrom
Copy link
Member

Going to close this as a duplicate of the mentioned frontend issue. Audio focus is not something the app requests or handles differently here.

@jpelgrom jpelgrom closed this as not planned Won't fix, can't repro, duplicate, stale Jan 24, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

4 participants