Options
All
  • Public
  • Public/Protected
  • All
Menu

Describes a position within a SyncMediaTimeline instance. A position is defined using a segment index and an offset within that segment in milliseconds.

Hierarchy

  • SyncMediaTimelinePosition

Implements

Index

Constructors

Methods

  • Compares the given position with this position.

    Parameters

    Returns number

    Negative number if this position is less than otherPosition. 0 if positions are equal. Positive number if this position is greater than otherPosition

  • getOffsetWithinSegmentMs(): number
  • getSegmentIndex(): number
  • toString(): string
  • Prints this position a human readable string.

    Returns string

Generated using TypeDoc