2020-05-04
3464
#node
Darko Milosevic
17817
May 4, 2020 ⋅ 12 min read

Make your own online radio server in pure Node.js

Darko Milosevic I'm a JavaScript developer who loves exploring, coding, and blogging — but only because it's fun.

Recent posts:

Nx Adoption Guide: Overview, Examples, And Alternatives

Nx adoption guide: Overview, examples, and alternatives

Let’s explore Nx features, use cases, alternatives, and more to help you assess whether it’s the right tool for your needs.

Andrew Evans
Mar 28, 2024 ⋅ 9 min read
Understanding Security In React Native Applications

Understanding security in React Native applications

Explore the various security threats facing React Native mobile applications and how to mitigate them.

Wisdom Ekpotu
Mar 27, 2024 ⋅ 10 min read
Warp Adoption Guide: Overview, Examples, And Alternatives

warp adoption guide: Overview, examples, and alternatives

The warp web framework for Rust offers many enticing features. Let’s see when and why you should consider using warp in your projects.

Ukeje Goodness
Mar 26, 2024 ⋅ 8 min read
Integrating Next Js And Signalr For Enhanced Real Time Web App Capabilities

Integrating Next.js and SignalR to build real-time web apps

In this tutorial, you’ll learn how to integrate Next.js and SignalR to build an enhanced real-time web application.

Clara Ekekenta
Mar 25, 2024 ⋅ 8 min read
View all posts

6 Replies to "Make your own online radio server in pure Node.js"

  1. Pretty cool.
    How many simultaneous listeners do you think this can support, given a basic digitalocean droplet of 1 core CPU ?

  2. Thank you!
    It is hard to say without doing the benchmarks. I didn’t plan on using this for some serious project/service, so I didn’t measure the performances. But in theory it should be able to support quite a lot.

  3. The audio itself doesn’t play for me, could it be CORS ? I tried locally and on a server both get 200 from /stream but the audio never actually comes. I hope someone can shed some light

    1. After heavy debugging and rewriting most of the queue class I realised my files were also m4a type converted to mp3 so that may have been my issue all along, in any case it works now. Thank you !

Leave a Reply