AVPlayerItemOutputPullDelegate Protocol Reference
| Conforms to | |
| Framework | /System/Library/Frameworks/AVFoundation.framework |
| Availability | Available in iOS 6.0 and later. |
| Declared in | AVPlayerItemOutput.h |
Overview
The AVPlayerItemOutputPullDelegate protocol defines the methods that are called by an AVPlayerItemVideoOutput object in response to pixel buffer changes.
Instance Methods
outputMediaDataWillChange:
Tells the delegate that new samples are about to arrive.
Parameters
- sender
The output object that sent the message.
Discussion
You can use this method to prepare for any new sample data. This method is called at some point after a call to your video output object’s requestNotificationOfMediaDataChangeWithAdvanceInterval: method.
Availability
- Available in iOS 6.0 and later.
Declared In
AVPlayerItemOutput.houtputSequenceWasFlushed:
Tells the delegate that a new sample sequence is commencing.
Parameters
- output
The output object that sent the message.
Discussion
This method is called after any attempt to seek or change the playback direction of the item’s content. If you are maintaining any queued future samples, you can use your implementation of this method to discard those samples.
Availability
- Available in iOS 6.0 and later.
Declared In
AVPlayerItemOutput.h© 2012 Apple Inc. All Rights Reserved. (Last updated: 2012-09-19)