videosphere
    Preparing search index...
    • Finds the next keyframe strictly after a timestamp.

      Parameters

      • timestamp: number

        Reference timestamp in seconds.

      • keyframes: number[]

        Candidate keyframe timestamps in seconds.

      Returns number

      Next keyframe timestamp, or null when none exist.