Is there a good radio-like audio streaming solution for node.js?

I am looking for something for streaming audio like radio (continuous play and clients can join the middle of the song) using node.js. Is there any node.js module (which I could not find) or anything else that I can use with node.js to achieve this? Is this even possible with node.js? If not, what do you recommend using differently? (although I prefer node.js) I'm good at using the HTML5 Audio API, and I don't care about IE support.

Thanks.

+3
source share
1 answer

Yes, it is quite possible. I now host Internet radio on Node.js.

All you have to do is take the raw stream data from the encoder and send it via HTTP to any connected clients. Clients are well versed in the stream, so you don’t have to worry about frame alignment or anything else.

+2
source

Source: https://habr.com/ru/post/949044/


All Articles