Interface

MediabunnySourceMetadata

Timing and selected-track metadata for a loaded source.

Signature

Type Definition
Interface MediabunnySourceMetadata

Properties

NameSignatureDescription
audioaudio: MediabunnyAudioMetadata | nullSelected audio metadata, or `null` when no audio track is selected.
durationSecondsdurationSeconds: numberSelected-track presentation duration in seconds.
endTimestampSecondsendTimestampSeconds: numberEnd timestamp in the resolved media's time domain.
firstTimestampSecondsfirstTimestampSeconds: numberFirst timestamp in the resolved media's time domain.
presentationStartTimestampSecondspresentationStartTimestampSeconds: numberEarliest non-negative presentation timestamp across the selected tracks.
sourceEndTimestampSecondssourceEndTimestampSeconds: numberEnd timestamp mapped into the logical source time domain.
sourceFirstTimestampSecondssourceFirstTimestampSeconds: numberFirst timestamp mapped into the logical source time domain.
videovideo: MediabunnyVideoMetadata | nullSelected video metadata, or `null` when no video track is selected.