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

safari does not play the audio streams #26

Open
citron opened this issue Jan 29, 2013 · 1 comment
Open

safari does not play the audio streams #26

citron opened this issue Jan 29, 2013 · 1 comment
Labels

Comments

@citron
Copy link

citron commented Jan 29, 2013

On Mac OSX Mountain Lion, while google chrome and firefox are ok, safari does not play the audio streams.
Chrome seems to load http://a.b.c.d:3000/transcode/ogg/17957156
while safari loads http://a.b.c.d:3000/transcode/mp3/17957156
The original audio file is a mp3.

@nickdesaulniers
Copy link
Owner

Hey thanks for filing this issue! It means someone's actually using this!

So, I have not been able to verify this issue. The very first time I clicked a file, the loading bar was stuck on screen due to a 401 Not Authorized. I think Safari has a bug with re-serving HTTP Basic headers after you first verify. I was seeing similar issues before related to HTTP Basic Auth. All subsequent plays of mp3's worked.

Can you double check that you can authorize, refresh page, then try to play two different songs? Also, try clicking once on a song that fails to load, then clicking a second time (not double clicking).

Are there any errors on the server or web console that you observed that I did not?

Safari's web console seems to have trouble with mp3's. It's not logging the status code's for requests or the MIME type. Maybe they're not being set right? In Firefox, ogg's are being served with the correct Content-Type header.

You can disable HTTP Basic Auth by commenting out this line: https://github.com/nickdesaulniers/audiostream/blob/master/app.js#L17

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants