Androz2091 / Androz2091/discord-player
Bun lags and freeze
- Vorherrschende Sprache
- TypeScript
- Sterne
- 638
- Forks
- 197
- Ø Merge
- 2 Min.
- Gemergte PRs (30 T.)
- 1
Beschreibung
**Describe the bug**
When using the library, more precisely when the library uses the deprecated discord-voip dependency using bun and not node, an error message appears and my audio stream cuts out and then resumes, catching up with the delay
**To Reproduce**
Steps to reproduce the behavior:
1. Use the lib with bun ?
2. Wait 2-3s and then the bug appear
**Expected behavior**
The sound cuts then restart with accelerating until it had reach the missing time.
```
TimeoutNegativeWarning: -29 is a negative number.
Timeout duration was set to 1.
at prepareNextAudioFrame (/home/wiibleyde/Documents/Perso/Eve/node_modules/discord-voip/dist/index.js:128:28)
```
**Please complete the following information:**
- Node Version: 22.14.0
- Bun Version: 1.2.7 (https://bun.sh/)
- Discord Player Version: 7.1.0
- Discord.js Version: 14.16.3
Beitragsleitfaden
Bewertung
Dieses Issue wurde noch nicht bewertet.