[go: nahoru, domu]

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

How can I pause the player when we change the HDMI source #1444

Closed
simranthakkar1996 opened this issue Jun 11, 2024 · 1 comment
Closed

How can I pause the player when we change the HDMI source #1444

simranthakkar1996 opened this issue Jun 11, 2024 · 1 comment

Comments

@simranthakkar1996
Copy link

As a Fire TV user, I want a video to pause when changing the HDMI source so that I don’t lose my watching progress or eat through my internet bandwidth.

The video didn't pause when changing the HDMI source.

Steps to Reproduce:
We will need a fire tv stick device to test and reproduce this behaviour.
Download, Install, and launch the app.
Play any content.
Change the HDMI source to another input.
After a few minutes return back to device connected to HDMI source.

Actual Behavior: Playback continues to play in the background when HDMI source is changed
Expected Behavior: Video should be in paused state when changing HDMI source

@microkatz
Copy link
Contributor

According to the Amazon Fire TV requirements for multimedia apps, https://developer.amazon.com/docs/fire-tv/multimedia-app-requirements.html#requirement-71-hdmi-disconnection, they suggest that applications should pause when HDMI is disconnection. They supply a note reading:

Note: HDMI events are also sent when the input of the display is changed from the Fire TV to something else. Most applications are expected to stay in a paused state when the HDMI cable is reconnected to a display.

The Android APIs and documentation discussed in Amazon Fire TV handling hdmi events should be helpful.

I'm going to close this issue as I supplied Fire TV provided documentation for your scenario. Please re-open or create a new issue if you have ExoPlayer specific questions!

@androidx androidx locked and limited conversation to collaborators Aug 14, 2024
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

No branches or pull requests

2 participants