websockets-streaming-audio
Version:
Click a browser button to launch a node.js process on the server side which streams audio using web sockets back to the browser which is then rendered using web audio API My plan is to make this modular enough to get added to your process as simple API
19 lines (10 loc) • 529 B
JavaScript
// put global vars here
var config = module.exports = {};
config.env = "dev";
config.hostname = "dev.example.com";
config.absolute_or_relative = "relative"; // find below media_dir relative to directory where local_app.js lives
// config.absolute_or_relative = "absolute"; // find below media_dir as an absolute directory path
config.media_dir = "../media";
config.media_path_relative = "../media";
config.media_path_absolute = "/home/stens/Dropbox/Documents/data/audio";
// config.media_dir = "/home/stens/Videos/work";