Package-level declarations

Types

Link copied to clipboard
sealed interface KitePlayerAvailability

Whether KitePlayer's default backend and output stack can run in this process.

Link copied to clipboard

A KitePlayer for a Java app, on the JVM and Android (#394).

Link copied to clipboard

What a Java app hears from a player (#394), through KitePlayerJava.addListener.

Link copied to clipboard

The default KitePlayer stack for the current target.

Link copied to clipboard

A player that runs in a Web Worker, so the page's own thread stays free while it opens, decodes and draws (#100).

Link copied to clipboard

Which codec module a page may load (#58).

Properties

Link copied to clipboard

Whether KitePlayer can build a player with this platform's default stack, and why not when it cannot.

Link copied to clipboard

True when KitePlayer can build a player with this platform's default stack.

Link copied to clipboard

Whether this platform can put a player in a picture-in-picture window at all.

Functions

Link copied to clipboard
fun KitePlayer(config: PlayerConfig = PlayerConfig()): KitePlayer

Builds a player on this platform's default stack: FFmpeg for the media, and the platform's own audio output and clock.

KitePlayer with its config built in a block, so a nested setting does not need its type named:

Link copied to clipboard

The worker's side of KitePlayerWorker (#100). The worker binary's main calls this and returns; the worker then lives on the messages the page sends it.

Link copied to clipboard

Whether this device allows picture-in-picture at all: the package manager's feature flag.

Whether this device allows picture-in-picture at all. See KitePlayer.supportsPictureInPicture(context).