Instance Property


The current playback rate.


var rate: Float { get set }


A value of 0.0 means playback has stopped. A value of 1.0 tells the renderer to play at the natural rate of the media. This property must be greater than or equal to 0.0.

See Also

Accessing Time Information

var timebase: CMTimebase

The synchronizer's rendering timebase, which governs how timestamps are interpreted.

func setRate(Float, time: CMTime)

Set's the timebase's rate and time.

class let rateDidChangeNotification: NSNotification.Name

The synchronizer's rendering rate changed.

func currentTime() -> CMTime

Returns the current time of the synchronizer.