3 ms·
While working at KPCC, a Los Angeles-area NPR affiliate, I wrote a Shoutcast replacement in Node.js that the station has been running in production for the past
by ewrcode 13y ago
While working at KPCC, a Los Angeles-area NPR affiliate, I wrote a Shoutcast replacement in Node.js that the station has been running in production for the past 18 months. It is open-sourced and lives at:
https://github.com/StreamMachine/StreamMachine https://github.com/StreamMachine/StreamMachine
I'd love to get others involved in the project. It's been doing great work on the bread-and-butter live listeners, but there's so much more potential out there for building smarter clients and listening models.
- j-hernandez 13y agoImpressive effort! Thanks for sharing - looking forward to browsing the source this afternoon
- noinput 13y agoThanks for sharing this. Do you by chance have a few bullet points you could add to the README for getting a baseline config as a working demo? I currently run mobile apps with college sports programming on Live365 and am streaming ~ 300,000hrs per month. I'm dying to find a great replacement resource to finally do things better. This would be the best reason I could think of to finally learn node!
- ewrcode 13y agoI just pushed an updated example config and a chef cookbook that includes a Vagrantfile for installing a basic config in a VM. Both give you the most basic of setups, but they should at least point you in the right direction. Just streaming audio isn't a hard task; old hardware can handle it pretty well. What I've found more taxing in the KPCC deployment is all the junk connections that cause us to go through setup and teardown just for a script that's looking to pull metadata or who knows what else... I haven't seen KPCC's historic stats in a while, but I'm guessing they're probably doing roughly a million hours a month off three 5-year-old Dell 1U's.
- noinput 13y agothanks for that! looking forward to trying it out. happy thanksgiving :)
- fat0wl 13y agoyeah this looks great. If it turns out to be a fit for the company I'm working for I could ask them to turn their Flash server budget into some R&D on this and I'd gladly submit anything of value to the codebase.
- ewrcode 13y agoCool. I think there's huge disruption to be done in the tech stack and listening model for broadcast radio. I wrote up a few ideas back when KPCC was applying for a Knight Foundation News Challenge grant: http://ewr.is/2012/03/1788-taking-radio-beyond-the-play-button http://ewr.is/2012/03/1788-taking-radio-beyond-the-play-butt... StreamMachine supports all the cool bits underneath, but we've never gotten a chance to do the client integration to really take it to the next level.