Ayush Dhiman
Ayush Dhiman
https://discordjs.github.io/voice/modules.html Github docs still exists. Go check them out.
@Anonimatrix Wait for #198 to merge. Then you will be able to seek,
Just a recommendation, you can switch to play-dl. Play-dl doesn't require ffmpeg in normal streams.
> Thanks for your recommendation. However, I think that ffmpeg used by discordjs/voice module (https://github.com/discordjs/voice/blob/main/src/audio/TransformerGraph.ts) Can you test again with using this script running in a different ubuntu session after...
That only means ffmpeg instance is not deleted. @amishshah Maybe this is the reason of #164 [ Memory Leak ] .
You could have provided a better code for them to test :- ```js client.on('messageCreate', async message => { if(message.content.startsWith('!play')){ await connectVC(message) play_loop(message) } }) async function connectVC(message){ if(!message.member.voice?.channel) return message.channel.send('Connect...
Audio Resource getting in that 6 seconds loop [ where I am looping `play_loop()` function ] :- [here](https://pastebin.com/FgYunP1R)
> Is there any fix yet? Yup just uninstall discordjs opus now and start using opusscript.
#124 I asked earlier also.
If you are using ytdl-core, then it's your coding problem not djs voice issue. Ytdl core explicitly tells everyone to destroy it's stream once you are done downloading. [See this](https://github.com/fent/node-ytdl-core#streamdestroy)...