TuSDKMediaComposition Protocol Reference

Conforms to NSObject
Declared in TuSDKMediaComposition.h

Overview

合成项

– readNextSampleBuffer required method

读取一帧 CMSampleBuffer 如果返回 NULL 读取结束

- (TuSDKMediaCompositionSampleBuffer *)readNextSampleBuffer

Return Value

CMSampleBuffer

Availability

v3.4.1

Declared In

TuSDKMediaComposition.h

  outputTime required method

目前输出持续时间

@property (nonatomic, readonly) CMTime outputTime

Return Value

输出持续时间

Availability

v3.4.1

Declared In

TuSDKMediaComposition.h

  outputDuraiton required method

合成物输出持续时间

@property (nonatomic, readonly) CMTime outputDuraiton

Return Value

输出持续时间

Availability

v3.4.1

Declared In

TuSDKMediaComposition.h

  baseTime required method

基准时间 默认:kCMTimeZero

@property (nonatomic) CMTime baseTime

Return Value

输出持续时间

Availability

v3.4.1

Declared In

TuSDKMediaComposition.h

  outputDone required method

当前是否输出完成

@property (nonatomic) BOOL outputDone

Availability

v3.4.1

Declared In

TuSDKMediaComposition.h

– reset required method

重置复位状态

- (void)reset

Availability

v3.4.1

Declared In

TuSDKMediaComposition.h