discord-player 6.3.0 → 6.3.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/index.d.ts +3 -0
- package/dist/index.js +96 -42
- package/package.json +2 -2
package/dist/index.d.ts
CHANGED
|
@@ -748,6 +748,7 @@ interface FFmpegStreamOptions {
|
|
|
748
748
|
seek?: number;
|
|
749
749
|
skip?: boolean;
|
|
750
750
|
cookies?: string;
|
|
751
|
+
useLegacyFFmpeg?: boolean;
|
|
751
752
|
}
|
|
752
753
|
declare function FFMPEG_ARGS_STRING(stream: string, fmt?: string, cookies?: string): string[];
|
|
753
754
|
declare function FFMPEG_ARGS_PIPED(fmt?: string): string[];
|
|
@@ -2117,6 +2118,7 @@ interface PlaylistJSON {
|
|
|
2117
2118
|
* @property {string[]} [blockStreamFrom] List of extractors to disable streaming from
|
|
2118
2119
|
* @property {QueryCache | null} [queryCache] Query cache provider
|
|
2119
2120
|
* @property {boolean} [ignoreInstance] Ignore player instance
|
|
2121
|
+
* @property {boolean} [useLegacyFFmpeg] Use legacy version of ffmpeg
|
|
2120
2122
|
*/
|
|
2121
2123
|
interface PlayerInitOptions {
|
|
2122
2124
|
ytdlOptions?: downloadOptions;
|
|
@@ -2127,6 +2129,7 @@ interface PlayerInitOptions {
|
|
|
2127
2129
|
blockStreamFrom?: string[];
|
|
2128
2130
|
queryCache?: QueryCache | null;
|
|
2129
2131
|
ignoreInstance?: boolean;
|
|
2132
|
+
useLegacyFFmpeg?: boolean;
|
|
2130
2133
|
}
|
|
2131
2134
|
|
|
2132
2135
|
declare class AudioFilters {
|