PlaybackError

sealed interface PlaybackError(source)

Why playback failed.

Everything a player reports carries one of these, its status, its events, setting a composition and reading a frame back alike. A preview planned or read through the lowering an export uses fails there with a FilmstripError, which the player maps onto the arm here that means the same thing to playback.

Inheritors

Types

Link copied to clipboard
class BackendMissing(val artifact: String, val message: String) : PlaybackError

A backend the preview needs was not registered.

Link copied to clipboard

No decoder was available, or every decode session was already taken.

Link copied to clipboard

The source is DRM-protected. It cannot be previewed with effects applied, and it cannot be exported either.

Link copied to clipboard
class SourceUnreadable(val message: String) : PlaybackError

The source could not be opened or read.

Link copied to clipboard
class Underlying(val platformCode: Int, val message: String) : PlaybackError

A platform failure filmstrip could not classify.

Link copied to clipboard
class UnsupportedFormat(val message: String) : PlaybackError

The preview cannot be played here.

Properties

Link copied to clipboard
abstract val message: String

A human-readable description, safe to log and unsuitable for parsing.