4 ms·
> Might have been an incorrect content-type header? Thought that as well, and it seems like there are multiple type headers for ogg. But none worked :/ Also no
by onli 11y ago
> Might have been an incorrect content-type header?
Thought that as well, and it seems like there are multiple type headers for ogg. But none worked :/ Also not those that worked on other sites, so I thought about Content-Length and errors in my logic when to transcode. Went nowhere.
> I'm looking into https://github.com/audiocogs https://github.com/audiocogs to add AAC/other codecs to browsers with no support
If you can install that clientside, that is a great feature. I tried to transcode and stream stuff on the server using ffmpeg, and the big problem was content-length – when streaming I could only estimate the correct setting, leading to some songs being ended too soon. Could've changed by now ofc in the new browser version.
- archseer 11y agoYep, the work they do at Audiocogs is pretty amazing, live demo: http://audiocogs.org/codecs/ http://audiocogs.org/codecs/ The transcoding is done completely client-side.
- onli 11y agoNot quite there yet for me (small lags in the beginning), but that is already pretty great. I should integrate that instead of battling the transcoding, at least for FLAC, which seems like it will never be supported by browsers directly. Thanks for the link.