iOS Developer Library

Developer

AVFoundation Framework Reference AVAsynchronousVideoCompositionRequest Class Reference

Options
Deployment Target:

On This Page
Language:

AVAsynchronousVideoCompositionRequest

An AVAsynchronousVideoCompositionRequest instance contains the information necessary for a video compositor to render an output pixel buffer.

The video compositor must implement the AVVideoCompositing protocol.

Inheritance


  • NSObject
  • AVAsynchronousVideoCompositionRequest
  • NSObject
  • AVAsynchronousVideoCompositionRequest

Conforms To


Import Statement


Swift

import AVFoundation

Objective-C

@import AVFoundation;

Availability


Available in iOS 7.0 and later.
  • The time for which the frame should be composed. (read-only)

    Declaration

    Swift

    var compositionTime: CMTime { get }

    Objective-C

    @property(nonatomic, readonly) CMTime compositionTime

    Import Statement

    Objective-C

    @import AVFoundation;

    Swift

    import AVFoundation

    Availability

    Available in iOS 7.0 and later.

  • The video composition render context making the request. (read-only)

    Declaration

    Swift

    var renderContext: AVVideoCompositionRenderContext! { get }

    Objective-C

    @property(nonatomic, readonly) AVVideoCompositionRenderContext *renderContext

    Import Statement

    Objective-C

    @import AVFoundation;

    Swift

    import AVFoundation

    Availability

    Available in iOS 7.0 and later.

  • The track IDs of all the source buffers that are available to compose the frame. (read-only)

    Declaration

    Swift

    var sourceTrackIDs: [AnyObject]! { get }

    Objective-C

    @property(nonatomic, readonly) NSArray *sourceTrackIDs

    Import Statement

    Objective-C

    @import AVFoundation;

    Swift

    import AVFoundation

    Availability

    Available in iOS 7.0 and later.

  • The video composition instruction to use to compose the frame. (read-only)

    Declaration

    Swift

    var videoCompositionInstruction: AVVideoCompositionInstructionProtocol! { get }

    Objective-C

    @property(nonatomic, readonly) id< AVVideoCompositionInstruction > videoCompositionInstruction

    Import Statement

    Objective-C

    @import AVFoundation;

    Swift

    import AVFoundation

    Availability

    Available in iOS 7.0 and later.