TuSDKMediaAudioTrackComposition Class Reference

Inherits from NSObject
Conforms to TuSDKMediaAudioComposition
Declared in TuSDKMediaAudioTrackComposition.h

Overview

用以读取音频轨道数据

– initWithAudioAsset:

根据视频轨道合成初始化 TuSDKMediaAudioTrackComposition

- (instancetype)initWithAudioAsset:(AVAsset *)inputAsset

Parameters

inputAsset

音频资产

Return Value

TuSDKMediaAudioTrackComposition

Availability

v3.4.1

Declared In

TuSDKMediaAudioTrackComposition.h

  inputAsset

视频资产

@property (nonatomic, readonly) AVAsset *inputAsset

Availability

v3.4.1

Declared In

TuSDKMediaAudioTrackComposition.h

  inputAssetInfo

视频资产信息

@property (nonatomic, readonly) TuSDKMediaAssetInfo *inputAssetInfo

Availability

v3.4.1

Declared In

TuSDKMediaAudioTrackComposition.h