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

    Interface TamsMediaInfo

    What the loaded flows say about the media: where it sits on the absolute TAMS flow timeline, and how its timecode should be counted.

    Media time is 0 based while TAMS timeranges are absolute, so every conversion between the two goes through mediaStartTime: flowTime = mediaTime + mediaStartTime.

    interface TamsMediaInfo {
        dropFrame: boolean;
        frameRate: string | number;
        hasVideo: boolean;
        mediaEndTime: number;
        mediaStartTime: number;
    }
    Index

    Properties

    dropFrame: boolean

    Whether frameRate is a drop frame rate.

    frameRate: string | number

    Frame rate of the reference video flow, as a "numerator/denominator" fraction so the exact rational rate survives. Audio only media counts in hundredths of a second instead, as elsewhere in the player.

    hasVideo: boolean

    Whether a video flow sets the timeline; drives the timecode format (FF vs hundredths).

    mediaEndTime: number

    Absolute flow time, in seconds, at which the loaded segments end.

    mediaStartTime: number

    Absolute flow time, in seconds, that media time 0 maps to.