Skip to content

StreamOptions

Options for DisTubeStream

crossfade?: CrossfadeStreamOptions;

Crossfade transition options.

When set, the stream mixes the primary URL (the song that is fading out, seeked to its final duration seconds) and the secondary URL (the song that is fading in) with an FFmpeg acrossfade filter graph, so the two songs crossfade seamlessly in a single FFmpeg process.


ffmpeg: FFmpegOptions;

FFmpeg options


seek?: number;

Seek time (in seconds).

0