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

    Interface MainMediaState

    Serializable snapshot of a MainMedia instance.

    Extends MediaEntityState with media-specific fields such as source, tracks, DRM flag, duration, frame rate, FFOM timecode, and init segment offset. Used for cross-boundary transfer (e.g. attached ↔ detached mode) and session persistence.

    interface MainMediaState {
        duration?: number;
        ffomTimecodeModel?: TimecodeModel;
        frameRateModel?: FrameRateModel;
        id: string;
        initialDuration?: number;
        initSegmentTimeOffset?: number;
        isDrm?: boolean;
        loadOptions: MainMediaLoadOptions | undefined;
        loadStage: OpStageState;
        mainMediaType: MainMediaType;
        mediaType: MediaEntityType;
        source: SourceState;
        sourceFileFormatType?: FileFormatType;
        tracks: TrackState[];
    }

    Hierarchy (View Summary)

    Index

    Properties

    duration?: number
    ffomTimecodeModel?: TimecodeModel
    frameRateModel?: FrameRateModel
    id: string
    initialDuration?: number
    initSegmentTimeOffset?: number
    isDrm?: boolean
    loadOptions: MainMediaLoadOptions | undefined
    loadStage: OpStageState
    mainMediaType: MainMediaType
    mediaType: MediaEntityType
    source: SourceState
    sourceFileFormatType?: FileFormatType
    tracks: TrackState[]