Contents

init(position:hostTime:rate:)

Creates a new playback position snapshot.

Declaration

init(position: CMTime, hostTime: CMTime, rate: Float)

Parameters

  • position:

    The playback position at hostTime.

  • hostTime:

    The mach host time at which position was accurate.

  • rate:

    The rate of position advancement at the time of the snapshot.

Return Value

A new playback position snapshot.