@byomakase/omakase-player
    Preparing search index...

    Interface MediaContainerTrackState

    Serializable snapshot of a container Track (HLS stream or MP4 file loaded as sidecar).

    interface MediaContainerTrackState {
        customAttrs: Record<string, any> | undefined;
        cutEndTime: number | undefined;
        cutStartTime: number;
        duration: number | undefined;
        id: string;
        label: string | undefined;
        loadOptions: TrackLoadOptions | undefined;
        loadStage: OpStageState;
        mediaType: MediaEntityType;
        playerStartTime: number;
        relations: RelationState[];
        source: SourceState | undefined;
        sourceFileFormatType?: FileFormatType;
        trackType: TrackType;
        url: string | undefined;
    }

    Hierarchy (View Summary)

    Index

    Properties

    customAttrs: Record<string, any> | undefined
    cutEndTime: number | undefined

    Sidecar timestamp where playback ends, in seconds. When not set, sidecar duration is used.

    cutStartTime: number

    First sidecar timestamp to be played, in seconds.

    duration: number | undefined

    Container duration in seconds.

    id: string
    label: string | undefined
    loadOptions: TrackLoadOptions | undefined
    loadStage: OpStageState
    mediaType: MediaEntityType
    playerStartTime: number

    Main media timestamp when sidecar starts playing, in seconds. Resolved to 0 when not set.

    relations: RelationState[]
    source: SourceState | undefined
    sourceFileFormatType?: FileFormatType
    trackType: TrackType
    url: string | undefined