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 Chrome won't play HLS/m3u8 files #13

Open
jkeen opened this issue Oct 14, 2022 · 1 comment
Open

Android Chrome won't play HLS/m3u8 files #13

jkeen opened this issue Oct 14, 2022 · 1 comment

Comments

@jkeen
Copy link
Owner

jkeen commented Oct 14, 2022

Android Chrome audio.canPlayType('application/vnd.apple.mpegurl') returns 'maybe' for the native audio connection, but stalls out when actually trying to play it.

We might want to sort the strategy order with the maybes at the end, even if that maybe is Native Audio (which is usually preferred). Currently you can work around this issue by specifying the HLS for the connection to use.

@jkeen
Copy link
Owner Author

jkeen commented Oct 15, 2022

A complicating factor is that currently despite being able to specify useConnections: ['HLS', 'NativeAudio'] for the connections, we reorder connections to prioritize native audio for mobile trying it first.

The best solution here would be to move on to trying the next possible connection on a play failure, not just a load failure. Next best thing would be to remove that reordering for mobile.

Only current workaround is specifying useConnections: ['HLS'] for audio you know is HLS

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

No branches or pull requests

1 participant