Package-level declarations
Types
The frames of a timeline strip, held for a window around what is on screen.
Defaults for rememberFilmstripFrames.
Defaults for rememberPlayheadState.
The playhead and the length it runs against, for a scrubber to draw.
The three calls a scrubbing gesture makes, in order.
How the video rectangle fills the space VideoSurface is given.
What a preview needs to size itself and to know when it has something worth showing.
Functions
Collects player's events for as long as this stays in composition.
Remembers one frame of composition, rendered at at with its effects applied, and closes it when this leaves composition.
Remembers the frames of a timeline strip over composition, and closes them when this leaves composition.
Remembers a player over composition and closes it when this leaves composition.
Follows player's playhead and the length of what it is playing.
Remembers the scrub protocol for player.
Remembers the scrub protocol for a transport the host drives itself.
Remembers a player from factory and closes it when this leaves composition.
Tracks player's output size and whether its surface has pixels yet.
Constrains this layout to the aspect the composition outputs.
The rectangle output fills inside available, for contentScale.
The rectangle a frame of outputAspect fills inside available, for contentScale.
Android renders into a SurfaceView.
Renders player's video output, and nothing else.
iOS renders into a UIView whose backing layer is an AVPlayerLayer.
Desktop draws the readback, the same way the browser does.
The browser draws the composite itself, so there is no native view to attach.