Cancels any pending preroll requests and invokes the corresponding completion handlers if present.
On This Page
This method cancels and releases the completion handlers for any pending prerolls. The finished parameter of the completion handlers passed to preroll(atRate:completionHandler:) will be set to false.
func setRate(Float, time: CMTime, atHostTime: CMTime)
Synchronizes the playback rate and time of the current item with an external source.
func preroll(atRate: Float, completionHandler: ((Bool) -> Void)?)
Begins loading media data to prime the media pipelines for playback.
var masterClock: CMClock?
The master clock used for item time bases.
This documentation contains preliminary information about an API or technology in development. This information is subject to change, and software implemented according to this documentation should be tested with final operating system software.