Feat: refactor ffmpeg config (#296)
* bundle ffmpeg wasm in package * remove ffmpeg discover & add ffmpeg-static * fix ffprobe-static version * fix metadata generate * fix auto transcribe if pending * remove console.log
This commit is contained in:
8
enjoy/src/types/enjoy-app.d.ts
vendored
8
enjoy/src/types/enjoy-app.d.ts
vendored
@@ -227,15 +227,7 @@ type EnjoyAppType = {
|
||||
removeProgressListeners: () => Promise<void>;
|
||||
};
|
||||
ffmpeg: {
|
||||
config: () => Promise<FfmpegConfigType>;
|
||||
setConfig: (config: FfmpegConfigType) => Promise<FfmpegConfigType>;
|
||||
download: () => Promise<FfmpegConfigType>;
|
||||
check: () => Promise<boolean>;
|
||||
discover: () => Promise<{
|
||||
ffmpegPath: string;
|
||||
ffprobePath: string;
|
||||
scanDirs: string[];
|
||||
}>;
|
||||
};
|
||||
download: {
|
||||
onState: (callback: (event, state) => void) => void;
|
||||
|
||||
Reference in New Issue
Block a user