Contents

seek(to:tolerance:)

Requests a seek to the specified position.

Declaration

@MainActor func seek(to position: CMTime, tolerance: CMTime)

Parameters

  • position:

    The position to seek to.

  • tolerance:

    How close to position the actual seek must land. Pass CMTime.zero for exact frame-accurate seeking or CMTime.positiveInfinity for fast approximate seeking.