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

Case insensitive formats #107

Open
xivilai opened this issue May 1, 2023 · 2 comments
Open

Case insensitive formats #107

xivilai opened this issue May 1, 2023 · 2 comments
Assignees

Comments

@xivilai
Copy link

xivilai commented May 1, 2023

Some radio station APIs return formats (.mp3, aac, ...) in upper case. Because of this, the player get stuck on infinite loading with no apparent reason. Takes a while to figure out the problem

Steps to reproduce:

useAudioPlayer({
    src: "https://stream.toohotradio.net/128",
    html5: true,
    format: ["MP3"],
  });
@E-Kuerschner
Copy link
Owner

@xivilai ill make sure to transform all formats to lowercase just in case, but for the meantime could you not do the same in your app as a workaround?

@xivilai
Copy link
Author

xivilai commented May 3, 2023

@E-Kuerschner I did, thank you

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

2 participants