AVCustomEdit/APLCustomVideoCompositionInstruction.h

/*
 Copyright (C) 2017 Apple Inc. All Rights Reserved.
 See LICENSE.txt for this sample’s licensing information
 
 Abstract:
 Custom video composition instruction class implementing AVVideoCompositionInstruction protocol.
 */
 
#import <Foundation/Foundation.h>
#import <AVFoundation/AVFoundation.h>
 
@interface APLCustomVideoCompositionInstruction : NSObject <AVVideoCompositionInstruction>
 
@property CMPersistentTrackID foregroundTrackID;
@property CMPersistentTrackID backgroundTrackID;
 
- (id)initPassThroughTrackID:(CMPersistentTrackID)passthroughTrackID forTimeRange:(CMTimeRange)timeRange;
- (id)initTransitionWithSourceTrackIDs:(NSArray*)sourceTrackIDs forTimeRange:(CMTimeRange)timeRange;
 
@end