VideoPlayer
A player over an EditComposition.
Implemented by filmstrip, never by a consumer. State, events and the playhead come in a coroutine form and a listener form, so a caller without coroutines loses nothing.
Properties
Edge facts, delivered losslessly to keeping-up collectors, with no replay.
What this backend can do on this device.
The platform player underneath, or null when no backend is attached.
What the preview is actually delivering, including its parity and per-property fidelity.
Reads rendered preview frames back, post-effects and pre-encode.
Serialised, in-order, internally consistent snapshots. Never torn across axes.
Functions
Observes events without coroutines.
Observes the playhead without coroutines, at most once per tick.
Observes state without coroutines.
Enters scrubbing mode, where seek accuracy may relax to keep up with a moving finger.
Reads the playhead.
Observes the playhead as a cold flow.
Seeks to position.
The callback form of setComposition, for callers without coroutines.
Loads a composition, or replaces the current one, suspending until it is presentable.
Sets the export this preview stands in for, so it renders at the HDR grade spec resolves to.
Loops within range, or plays straight through when null.
Restricts playback to range, or to the whole composition when null.
Sets how hard the preview may work.
Steps by whole frames, forwards for a positive count and backwards for a negative one.