I'm trying to stream audio (just a simple, uncompressed 8-bit mono wav stream at the moment) to an HTML5-capable browser from node.js - however, the browser seems to be adding several seconds of lag. Is there a way to make this more realtime?
I've been thinking about detecting silence and not sending the silent bytes, thereby forcing a buffer underrun, but this doesn't seem like a very clean solution to me...