voice
voice copied to clipboard
Implementation of the Discord Voice API for discord.js and other JS/TS libraries
`Voice.createAudioResource()` creates memory leak. There is no `AudioResource.destroy()` but without `destroy()` it eats memory. With creating resource (eats memory): ```js Voice.createAudioResource(res.stream, {inputType: res.type, inlineVolume: true}); ``` Without creating resource (all...
**Please describe the problem you are having in as much detail as possible:** - player goes Idle for custom ffmpeg stream. While ffmpeg command runs successfully. **Include a reproducible code...
I have no idea why the v11 and bellow examples are so much more simple than this. Splitting the files just makes it hard to interpret this.
- Can remove `wrappedMethods` in Track.ts - Revisit reconnection logic - the readyLock currently sets a hard cap of 20 seconds on reconnects that interferes with other parts of the...
**Is your feature request related to a problem? Please describe.** No. **Describe the ideal solution** Adding an option to choose explicitly what opus lib to be used **Describe alternatives you've...
**Please describe the problem you are having in as much detail as possible:** Upgrading from `0.5.x` versions, changing `createVoiceRecevier(connection)` to `new VoiceReceiver(connection)` seemed to be the logical choice. However, the...
**Please describe the problem you are having in as much detail as possible:** https://discordjs.github.io/voice/classes/voicereceiver.html#speaking `VoiceReceiver.speaking` is documented to be a `SpeakingMap`, but there are no docs for `SpeakingMap` itself. **Further...
Now that v13 is released, the examples that use dev builds of v13 should be updated to use the new released version.
If you'd like to pass custom FFmpeg arguments, you need to create your own FFmpeg transcoder stream. This can be annoying, especially for those who would like to use reconnect...