videosphere
    Preparing search index...
    • Clamps a trim end to the shorter of the requested end and available A/V stream bounds.

      Parameters

      • relativeStart: number

        Trim start in seconds within the source file.

      • relativeEnd: number

        Requested trim end in seconds within the source file.

      • bounds: SmartCutSourceStreamBounds

        Probed stream end timestamps.

      Returns number

      Trim end that both streams can cover.