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

    Interface MediaTemporalConverterArgs

    Construction arguments for MediaTemporalConverter. All fields are optional; omitting a field disables conversions that depend on it.

    interface MediaTemporalConverterArgs {
        duration?: number;
        ffomTimecodeModel?: TimecodeModel;
        frameRateModel?: FrameRateModel;
        hasAudio?: boolean;
        hasVideo?: boolean;
        initSegmentTimeOffset?: number;
    }
    Index

    Properties

    duration?: number

    Total media duration in seconds. Required for MediaTemporalFormat.PERCENT and MediaTemporalFormat.COUNTDOWN_MEDIA_TIME conversions.

    ffomTimecodeModel?: TimecodeModel

    First-frame-of-media (FFOM) timecode model. When present, timecode output is offset so that 0 s maps to this timecode value instead of 00:00:00:00.

    frameRateModel?: FrameRateModel

    Frame-rate model (rational fps + drop-frame flag). Required for MediaTemporalFormat.FRAME_COUNT and MediaTemporalFormat.TIMECODE conversions.

    hasAudio?: boolean

    Indicates if main media has audio. *

    hasVideo?: boolean

    Indicates if main media has video. *

    initSegmentTimeOffset?: number

    HLS init-segment time offset in seconds. Applied as a base offset when converting absolute media time to presentation time.