Loolooii
Loolooii

Reputation: 9200

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

I'm looking for something to stream audio like radio (playing continuously and clients can join in the middle of a song) with node.js. Is there any node.js module (which I couldn't find)or anything else that I can use along with node.js to achieve this? Is this possible at all with node.js? If not, what do you recommend to use otherwise? (though, I prefer node.js) It's ok for me to use HTML5 Audio API and I don't care about IE support.

Thanks.

Upvotes: 3

Views: 4820

Answers (1)

Brad
Brad

Reputation: 163602

Yes, this is entirely possible. I am hosting internet radio on Node.js at the moment.

All you have to do is take the raw stream data from the encoder and send it via HTTP to any connected clients. The clients are good about synching up with the stream, so you don't have to worry about aligning to frames or anything.

Upvotes: 2

Related Questions