geneliu

FacebookTwitter

Gene Liu

Have you been itching to try out Node.JS for a real-time communication app? Perhaps a voice application? Or a SMS or IM agent?

Tropo, node.js

http://blog.tropo.com/2011/01/18/build-node-js-apps-for-tropo-that-use-voice-sms-im-and-twitter-and-host-them-at-nodefu/

Streaming audio from a Node.js server to HTML5 <audio> tag

I've been experimenting with binary streams in Node.js, and much to my amazement do actually have a working demo of taking a Shoutcast stream using node-radio-stream and pushing it into a HTML5 element using chunked encoding. But it only works in Safari! Here is my server code: var radio = require ( "radio-stream" ); var http = require ( 'http' ); var url = "http://67.205.85.183:7714" ; var stream = radio . createReadStream ( url ); var clients = []; stream console http://efreedom.com/Question/1-3955103/Streaming-Audio-Nodejs-Server-HTML5-Audio-Tag