feat(extension): add streaming FFmpeg WASM merge runtime

This commit is contained in:
Levi committed 2026-09-13 15:23:29 +08:00
1 parent 62e8ab3cef
commit 9124976b5c
29 files changed
+1970 -15

No files matched your search

@@ -30,6 +30,9 @@ func injectGopeed(vm *goja.Runtime, gopeed *Instance) error {
}
runtimeObject := vm.NewObject()
if gopeed.Runtime != nil {
if err := runtimeObject.Set("ffmpeg", vm.Get("__gopeed_ffmpeg")); err != nil {
return err
}
if err := runtimeObject.Set("blob", newJSBlobRuntime(vm)); err != nil {
return err
}