setRate(_:time:)
Sets the renderer’s time and rate.
Declaration
func setRate(_ rate: Float, time: CMTime)Parameters
Discussion
This method first sets the new time and then the new rendering rate. A rate value of 0.0 means that playback has stopped while a rate value of 1.0 indicates playback should be at the natural rate of the media.