node-m3u8stream icon indicating copy to clipboard operation
node-m3u8stream copied to clipboard

ERR_STREAM_PREMATURE_CLOSE after 30 seconds

Open felds opened this issue 3 years ago • 0 comments

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]

felds avatar Oct 10 '21 03:10 felds