TuSDKVideoInfo Class Reference

Inherits from NSObject
Declared in TuSDKVideoInfo.h

  videoTrackInfoArray

视频轨道信息

@property (nonatomic, readonly) NSArray<TuSDKVideoTrackInfo*> *videoTrackInfoArray

Availability

视频轨道信息

3.0

Declared In

TuSDKVideoInfo.h

  duration

持续时间

@property (nonatomic, readonly) CMTime duration

Availability

3.0

Declared In

TuSDKVideoInfo.h

  is4K

是否为4k视频

@property (nonatomic, readonly) BOOL is4K

Availability

v3.0

Declared In

TuSDKVideoInfo.h

– loadAsynchronouslyForAssetInfo:completionHandler:

异步加载视频信息

- (void)loadAsynchronouslyForAssetInfo:(AVAsset *)asset completionHandler:(void ( ^ ) ( void ))handler

Parameters

asset

AVAsset

handler

完成后回调

Availability

3.0

Declared In

TuSDKVideoInfo.h

– loadSynchronouslyForAssetInfo:

同步加载视频信息

- (void)loadSynchronouslyForAssetInfo:(AVAsset *)asset

Parameters

asset

AVAsset

Availability

3.0

Declared In

TuSDKVideoInfo.h