MayamaTakeshi / dtmf-detection-stream

A simple DTMF detections stream for node.js
0 stars 0 forks source link

function _write(chunk) needs to slice chuck.buffer to the chunk.byteLength #8

Closed MayamaTakeshi closed 5 months ago

MayamaTakeshi commented 5 months ago

This is necessary because some data providers like ws (websocket module) will have a chunk.buffer that is larger than the actual data being transmitted.