Documentation
    Preparing search index...

    Function calculateDuration

    • Internal

      Calculates the duration of a segment.

      segmentDuration = duration / timescale

      Parameters

      • duration: undefined | string

        Duration of the segment

      • timescale: undefined | string

        Timescale of the segment

      Returns number

      Segment duration