Hacker News new | ask | show | jobs
by stonesweep 1891 days ago
If the author is reading this, you've hit/stumbled on "HTTP Live Streaming" radios which are sort of the next evolution of classic Shoutcast/Icecast generated streams. There are better clients for it out there than Chrome which could probably enhance the experience (proper audio controls, etc.): https://en.wikipedia.org/wiki/HTTP_Live_Streaming#Clients
3 comments

I am reading this, just been busy with some errands last hour :)

Thanks for the tip, a dedicated application in combination with Stream Deck sounds even better.

You can do an http based live stream of any video or audio using ffmpeg as a server, and VLC as a client. With the right scripting VLC can be launched in a non interactive mode and begin playing immediately.
The author is using random online radios so they don't get to choose the server end - as a client, VLC is powerful but I prefer Audacious for the user interface. (random user survey :) ) - I have the same problem with VLC on my Android, it works but I much prefer other streaming clients for the better (subjective) UI.
there are some audio clients with http interfaces - I know VLC does, for one. So depending on how fancy you want to get, there's quite a lot of buttons a dedicated app could push on an audio client to get it to do exactly what you want, just by sending some HTTP requests (although just plain command line may be fine).