Storage for one render: the frames file, the manifest, materialized encoder inputs, and the encoded output.
Two backends implement it — a file-backed sandbox under a real directory
(desktop/mobile, byte-identical to writing files directly) and an in-memory
sandbox (web, where the browser has no file system). The capture loop and the
FfmpegRunners talk only to this interface, so the same deterministic
pipeline runs on every platform.
- Implementers
Properties
- directoryPath → String?
-
The real directory path a process-based encoder runs in, or
nullfor an in-memory sandbox (a process encoder is never selected there).no setter - hashCode → int
-
The hash code for this object.
no setterinherited
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
Methods
-
create(
) → Future< void> - Prepares the sandbox for writing (creates the directory for a file-backed sandbox; a no-op in memory).
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
openFrames(
String name) → CaptureSink -
Opens
namefor appending raw frame bytes. -
readBytes(
String name) → Future< Uint8List> -
Reads
nameback as bytes. -
toString(
) → String -
A string representation of this object.
inherited
-
writeBytes(
String name, Uint8List bytes) → Future< void> -
Writes
bytestoname(a materialized encoder input, or an output). -
writeText(
String name, String content) → Future< void> -
Writes
contenttonameas UTF-8 text (the manifest).
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited