iOS Developer Library

Developer

AV Foundation Framework Reference AVPlayerItemOutputPushDelegate Protocol Reference

Options
Deployment Target:

On This Page
Language:

AVPlayerItemOutputPushDelegate

The AVPlayerItemOutputPushDelegate protocol defines common delegate methods for objects participating in AVPlayerItemOutput push sample output acquisition.

  • Invoked when the output is commencing a new sequence of media data.

    Declaration

    Swift

    optional func outputSequenceWasFlushed(_ output: AVPlayerItemOutput)

    Objective-C

    - (void)outputSequenceWasFlushed:(AVPlayerItemOutput *)output

    Parameters

    output

    The AVPlayerItemOutput object.

    Discussion

    This method is invoked after any seeking and change in playback direction. If you are maintaining any queued future media data, you may want to discard those objects after receiving this message.

    Availability

    Available in iOS 7.0 and later.