Skip to content

exec, abort signal #572

Closed
Closed
@abernier

Description

@abernier

I know there is global ffmpeg.terminate, but is there a way (maybe using send?) to "abort" a single ffmpeg.exec(cmd) ?

It can for ex be an AbortController signal like in fetch:

const controller = new AbortController();
ffmpeg.exec(cmd, -1, {
  signal: controller.signal
})

// later...
controller.abort();

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions