Closed stijnb1234 closed 3 years ago
playbackDuration is intended as a read-only property, changing it won't do anything.
This library does not yet support seeking, if you'd like to do it, you'd need to use FFmpeg or some other tool.
Ah, okay. Because it's not defined as readOnly in the code itself. :P
https://github.com/discordjs/voice/issues/30#issuecomment-774542836
Here you indicate that examples will come for it. Where can I find them? I'm not so familiar with ffmpeg that I can put that together myself. :P
Please describe the problem you are having in as much detail as possible: When I use
resource.playbackDuration = seek;
, it doesn't seek the resource when I play it. It will just start playing at the beginning.Include a reproducible code sample here, if possible:
Further details:
Relevant client options: