Closed abernier closed 10 months ago
Maybe we could pass the signal to the centralised FFmpeg.prototype.#send
method with a 3rd parameter?
Here is my try https://github.com/ffmpegwasm/ffmpeg.wasm/pull/573
Question: is this expected to also terminate a running exec? Or is the user expected to call ffmpeg.terminate
manually? Currently, termination is manual
I know there is global
ffmpeg.terminate
, but is there a way (maybe usingsend
?) to "abort" a singleffmpeg.exec(cmd)
?It can for ex be an
AbortController
signal like in fetch: