ERR_STREAM_PREMATURE_CLOSE after 30 seconds
- Dominant language
- TypeScript
- Stars
- 230
- Forks
- 54
- PR merge metrics
- No merged PRs in 30d
Description
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/opus@0.5.3
├── @discordjs/voice@0.6.0
├── @types/node@16.10.3
├── discord.js@13.2.0
├── libsodium-wrappers@0.7.9
├── nodemon@2.0.13
├── sodium@3.0.2
├── ts-node@10.2.1
├── typescript@4.4.3
└── ytdl-core-discord@1.3.1
```
Contributor guide
No contributing guide indexed for this repository
Assessment
This issue has not been assessed yet.