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

    Interface TamsMainMediaArgs

    Construction arguments for BaseMainMedia and its subclasses.

    interface TamsMainMediaArgs {
        duration?: number;
        ffomTimecodeModel?: TimecodeModel;
        frameRateModel?: FrameRateModel;
        hasAudio?: boolean;
        hasDrm?: boolean;
        hasVideo?: boolean;
        id?: string;
        initSegmentTimeOffset?: number;
        isLive?: boolean;
        liveState?: MediaLiveState;
        loadOptions?: MainMediaLoadOptions;
        source: Source;
        sourceFileFormatType?: FileFormatType;
        tamsMetadata?: TamsMediaMetadata;
        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.

    hasAudio?: boolean

    Whether media has audio.

    hasDrm?: boolean

    Whether the media source is DRM-protected.

    hasVideo?: boolean

    Whether media has video.

    id?: string

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

    initSegmentTimeOffset?: number

    Initialization segment time offset.

    isLive?: boolean

    Whether the media source is a live stream.

    liveState?: MediaLiveState

    Live details, present for live streams.

    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.

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

    Pre-existing tracks to associate with the media.