Interface

MediabunnySourceState

Observable loading and recovery state for a logical source.

Signature

Type Definition
Interface MediabunnySourceState

Properties

NameSignatureDescription
attemptsattempts: typeOperatorOrdered preferred and fallback input attempts.
errorerror: Error | nullTerminal source load error, or `null` outside the failed state.
metadatametadata: MediabunnySourceMetadata | nullSelected-track timing and format metadata, or `null` until ready.
selectedInputIndexselectedInputIndex: number | nullSelected position in `[input, ...fallbacks]`, or `null` before/after loading.
sourceIdsourceId: stringLogical source identifier.
statusstatus: TimelineMediaSourceStatusCurrent lazy-loading or recovery lifecycle state.