-
Notifications
You must be signed in to change notification settings - Fork 87
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
FLAC streaming not working #225
Comments
For other browsers which doesn't support the Flac as audio source (like Firefox ?), maybe an integration of https://github.com/audiocogs/flac.js (GPL) could handle it ? (the subsonic server send the audio as flac, the browser, with the Jamstash frontend decode it with the JS API) I found Jamstash a very interesting as audio player, and when I'm on the same network as my subsonic server, I'll enjoy the playing as lossless media |
I was able to enable FLAC support in Jamstash using the following patch:
However that wasn't enough to allow jPlayer to playback FLAC streams, so I researched this further and found out that the problem is that my browser (Chromium 46 on Debian stretch) doesn't report @Etuldan I did try this solution however the support in jPlayer is experimental and buggy. I couldn't get it to work although it's a really promising solution for the future! |
I wonder if updating jPlayer would do the trick as we aren't using the latest version right now and it seems supported (from a quick look at their github). |
Same here. Flac playback isn't working. Tried both with transcoding on and off. jPlayer error: |
I gave it a try today and I had the same results as @jcharaoui, jPlayer doesn't seem to play flac at all on Chrome. What is more worrying is that the last commit in jPlayer's repo is from last year, and judging from the pile of pull requests, it's not likely that this will be fixed anytime soon. I'll try to tinker a bit more with aurora.js which seems to be supported "experimentally" by jPlayer, maybe including it will let us play flac. If not, maybe we'll have to replace jPlayer with something else entirely. |
To be fair, according to my experiment, the fault doesn't seem to lie entirely with jPlayer. To determine which codecs are supported in the host browser, it uses a standard API, and part of the problem I've encountered is that my browser plays FLAC perfectly but the API reports it as unsupported. For exmaple, on this page, FLAC is displayed as not supported but the test works fine. |
Any update on this? FLAC is now supported by both Firefox and Chrome (and the API returns this as well) |
It would seem Chrome now supports playing FLAC through the HTML5 audio element, which I confirmed using various tests on the web. However, if I disable FLAC->MP3 transcoding on my Subsonic server, Jamstash won't play any FLAC files. It adds them to the queue but the playback progress bar on the bottom never appears. Furthermore, looking at my Subsonic server logs, it doesn't look like the server ever gets a request from the web app for the FLAC audio file.
The text was updated successfully, but these errors were encountered: