Discord Player

PlayerInitOptions

No description provided

PlayerInitOptions

PropertyTypeValueDescription
blockExtractorsArray<string>N/AList of extractors to disable querying metadata from
blockStreamFromArray<string>N/AList of extractors to disable streaming from
bridgeProvideranyN/ASet bridge provider
connectionTimeoutnumberN/AThe voice connection timeout
ffmpegPathstringN/AConfigure ffmpeg path
lagMonitornumberN/ATime in ms to re-monitor event loop lag
lockVoiceStateHandlerbooleanN/APrevent voice state handler from being overridden
overrideFallbackContextbooleanN/AWhether to override the fallback context. Defaults to true.
probeTimeoutnumberN/AThe probe timeout in milliseconds. Defaults to 5000.
queryCachenull | QueryCacheProvider<any>N/AQuery cache provider
skipFFmpegbooleanN/ASkip ffmpeg process when possible
useLegacyFFmpegbooleanN/AUse legacy version of ffmpeg

On this page