node-m3u8stream
node-m3u8stream copied to clipboard
ERR_STREAM_PREMATURE_CLOSE after 30 seconds
When streaming to Discord, it hangs up after 30 seconds with the status ERR_STREAM_PREMATURE_CLOSE
.
It happens right after the progress
event for the 6th chunk. Messing with the function parameters changes nothing for better or for worse.
Here's a minimal demo that triggers the bug: https://gist.github.com/felds/13d7439c9ebfc96c849a1fc85cff8aa0
I'm on node v16.11.0 and these are my deps:
├── @discordjs/[email protected]
├── @discordjs/[email protected]
├── @types/[email protected]
├── [email protected]
├── [email protected]
├── [email protected]
├── [email protected]
├── [email protected]
├── [email protected]
└── [email protected]