Closed ArsenicBismuth closed 5 months ago
Or maybe I have misunderstood the functionality?
So the .abort()
call itself would cause the .exec()
promise to ends early without waiting for it. It doesn't stop the actual FFmpeg worker process.
In that case, it doesn't add a "new feature" per se, and more that you can control your flow better for handling "abort" situation.
PR #573 supposedly adds aborting feature. The message is properly received by the worker as we can see in the image below, but the process continues till completion.
The sample code in the PR is also a bit wrong, as we're supposed to call the
.abort()
in theAbortController
itself, not the signal. But nonetheless the worker received the signal properly, but no interruption is being done.Code: