Web Audio API - Live Stream 'clicks' between chunks.
问题 I am trying to stream audio through a websocket on a node.js (express) server to a web browser. The audio is coming from an iOS device as 16-bit, mono wav files sampled at 4k (4000 samples per second). Here's my code: Server Code: webSocketServer.on('connection', function connection(client) { client.on('message', function(message) { webSocketServer.clients.forEach(function each(connection) { connection.send(message, { binary: true } ); }); }); Client Code: webSocket = new WebSocket('ws://' +