mirror of
https://github.com/discordjs/discord.js.git
synced 2026-03-10 00:23:30 +01:00
add back seek option
This commit is contained in:
@@ -48,7 +48,7 @@ class AudioPlayer extends EventEmitter {
|
||||
const transcoder = this.prism.transcode({
|
||||
type: 'ffmpeg',
|
||||
media: stream,
|
||||
ffmpegArguments,
|
||||
ffmpegArguments: ffmpegArguments.concat(['-ss', String(seek)]),
|
||||
});
|
||||
this.streams.set(stream, { transcoder });
|
||||
this.playPCMStream(transcoder.output, options);
|
||||
|
||||
Reference in New Issue
Block a user