Concatenating 'audio/x-wav' buffer and serving with 'Transfer-Encoding': 'chunked'
问题 This question is a followup to a previous question, that was resolved thanks to @thejh. I'm trying to convert text to audio and serve the data to the client as 'chunked' data. So far my headers look like so: res.writeHead(200, { 'Content-Type': 'audio/wav', // I tried 'audio/x-wav' as well 'Transfer-Encoding': 'chunked' }); And then I'm converting snippets of text to audio in a queue (which I get back as base64 encoded data), and serving them like so: var src = Base64Audio.replace("data:audio