It would be safe to asume that this would work?
Because I'm getting weird result on my end.
var codecParserTransform = new Transform({
transform: function (chunk, encoding, cb) {
for (const frame of this.codecParser.parseChunk(chunk)) {
this.push(frame.data)
}
cb()
}
})
someReadableAudio.pipe(codecParserTransform).on('data', (frame) => {
someWritableStream.write(frame)
})
Or there is a better way of doing this??
Thanks.
It would be safe to asume that this would work?
Because I'm getting weird result on my end.
Or there is a better way of doing this??
Thanks.