A loaded ffmpeg.wasm instance with its in-memory virtual file system.
This is the browser-side counterpart to ProcessRunner: the one seam
between WasmFfmpegRunner and JavaScript. CI exercises the full
provider logic on the VM against a mock of this contract; the real
JS-interop binding lives in the conditional wasm_runtime_bindings and
only runs in the manual, wasm-tagged browser harness.
Properties
- hashCode → int
-
The hash code for this object.
no setterinherited
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
Methods
-
exec(
List< String> args) → Future<int> -
Runs one FFmpeg invocation with the argument array
argsand completes with its exit code (0means success). -
load(
) → Future< void> - Loads the wasm module (fetching and compiling it). Idempotency is the caller's job — the provider calls this exactly once per runtime.
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
readFile(
String name) → Future< Uint8List> -
Reads the file
nameback out of the virtual file system. -
toString(
) → String -
A string representation of this object.
inherited
-
writeFile(
String name, Uint8List bytes) → Future< void> -
Writes
bytesinto the runtime's virtual file system asname.
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited