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

    Interface BaseMainMediaArgs

    Construction arguments for BaseMainMedia and its subclasses.

    interface BaseMainMediaArgs {
        duration?: number;
        ffomTimecodeModel?: TimecodeModel;
        frameRateModel?: FrameRateModel;
        id?: string;
        initSegmentTimeOffset?: number;
        isDrm?: boolean;
        loadOptions?: MainMediaLoadOptions;
        source: Source;
        sourceFileFormatType?: FileFormatType;
        tracks?: Track<TrackState, OmpEvent<any, any>>[];
    }

    Hierarchy (View Summary)

    Index

    Properties

    duration?: number

    Initial media duration in seconds.

    ffomTimecodeModel?: TimecodeModel

    FFOM timecode model for time offset display.

    frameRateModel?: FrameRateModel

    Frame rate model for frame-accurate operations.

    id?: string

    Optional pre-assigned UUID. When omitted a new UUID is generated automatically.

    initSegmentTimeOffset?: number

    Initialization segment time offset.

    isDrm?: boolean

    Whether the media source is DRM-protected.

    loadOptions?: MainMediaLoadOptions

    Load options used when the media was requested.

    source: Source

    The resolved media source.

    sourceFileFormatType?: FileFormatType

    The resolved file format type of the source.

    tracks?: Track<TrackState, OmpEvent<any, any>>[]

    Pre-existing tracks to associate with the media.