Created
May 10, 2011 11:34
-
-
Save rumpl/964304 to your computer and use it in GitHub Desktop.
Play sounds or streams with node
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
var Naudio = require('./build/default/naudio').Naudio; | |
var naudio = new Naudio(); | |
// Gimme some country! | |
naudio.play('http://72.13.81.178:8020', function () { | |
console.log("It's a stream, this never ends!"); | |
}); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment