hasNewPixelBuffer(forItemTime:)
Returns a Boolean value that indicates whether video output is available for the specified item time.
Declaration
func hasNewPixelBuffer(forItemTime itemTime: CMTime) -> BoolParameters
- itemTime:
The item time to query. The time value is relative to the Avplayeritem object with which the receiver is associated.
Return Value
true if there is available video output that has not been previously acquired or false if there is not.
Discussion
This method returns true if the video data at the specified time has not yet been acquired or is different from the video that was acquired previously. If you require multiple objects to acquire video output from the same AVPlayerItem object, you should create separate AVPlayerItemVideoOutput objects for each.