VideoRenderer<T> class abstract interface

Renders a composition to T on one platform: a File where the encode lands on disk (desktop, on-device mobile), bytes where it stays in memory (the browser).

One contract, three symmetric implementations — DesktopVideoRenderer (local FFmpeg), OnDeviceVideoRenderer in fluvie_mobile_encoder (the platform's hardware encoder), and WebVideoRenderer in fluvie_web_encoder (ffmpeg.wasm). All three run the same deterministic capture loop; only the encode edge differs. Implementations may add platform extras as further optional named parameters (an output file, a codec, an Export mode) and choose their own defaults.

Implementers

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

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
render({required Widget composition, required Aspect aspect, required Duration duration, int fps, int longEdge, bool audio, bool warnOnDroppedAudio, String compositionKey, RenderProgressCallback? onProgress}) Future<T>
Renders composition for aspect over duration and returns the encoded result.
toString() String
A string representation of this object.
inherited

Operators

operator ==(Object other) bool
The equality operator.
inherited