The underlying issue is a Node.js issue (https://github.com/nodejs/node/issues/24915), but since node-ogg seems to be one of the few libraries that combines the highWaterMark: 0 with asynchronous push(), it doesn't seem to be widely encountered.
I mean.. it's apparently been broken for 2 Node releases... :)
One possible workaround for node-ogg would be to use highWaterMark: 1 for the DecoderStream. On the other hand, I'm expecting the issue to be fixed in Node at some point anyway.
Mostly this is for information.
The underlying issue is a Node.js issue (https://github.com/nodejs/node/issues/24915), but since
node-ogg
seems to be one of the few libraries that combines thehighWaterMark: 0
with asynchronouspush()
, it doesn't seem to be widely encountered.I mean.. it's apparently been broken for 2 Node releases... :)
One possible workaround for
node-ogg
would be to usehighWaterMark: 1
for the DecoderStream. On the other hand, I'm expecting the issue to be fixed in Node at some point anyway.