bump libs

rewrite ytdl command - now streaming both audio and video, separated, then merging using ffmpeg
This commit is contained in:
2026-02-25 16:22:01 +03:00
parent 51db4ba9b5
commit 8bbf97e4c0
6 changed files with 475 additions and 301 deletions
+11
View File
@@ -0,0 +1,11 @@
import {FfmpegCommand} from "fluent-ffmpeg";
export async function performFFmpeg(buildFFmpeg: () => FfmpegCommand): Promise<void> {
return new Promise((resolve, reject) => {
buildFFmpeg()
.on("end", () => {
resolve();
})
.on("error", reject);
});
}