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

HLS metadata #732

Open
aletorrado opened this issue May 20, 2022 · 2 comments
Open

HLS metadata #732

aletorrado opened this issue May 20, 2022 · 2 comments
Assignees
Labels
1 backlog enhancement New feature or request

Comments

@aletorrado
Copy link

Is your feature request related to a problem? Please describe.
I've noticed that just_audio supports ICY metadata for a shoutcast-like streaming, but it's not working for HLS (and probably other kind of modern streaming protocols).

Describe the solution you'd like
Exoplayer currently informs metadata for HLS, and presumably all other streaming protocols, with a single interface called onMediaMetadata instead of onMetadata which is used at the moment. I don't know how this may be implemented on iOS or other platforms.

Describe alternatives you've considered
Using onMediaMetadata should be considered.

Additional context
By the way, I'm developing apps for radio stations, so this is a pretty common usecase.

Thanks!

@ryanheise
Copy link
Owner

The currently used iOS API also provides access to non-ICY metadata, so it's a matter of collecting all of the additional metadata that you want into a data packet and stream it.

If you are interested in making a pull request, I would welcome that, although it will be good to first propose a Dart-level API. This may or may not be a breaking change, depending on how the Dart API is designed.

@ngee147
Copy link

ngee147 commented May 14, 2024

Looking for this feature.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
1 backlog enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

3 participants