TuSDKMediaFormatAssistant Class Reference

Inherits from NSObject
Declared in TuSDKMediaFormatAssistant.h

Overview

格式助手

+ safeVideoSize:

根据 videoSize 获取安全的size

+ (CGSize)safeVideoSize:(CGSize)videoSize

Parameters

videoSize

videoSize

Return Value

CGSize

Declared In

TuSDKMediaFormatAssistant.h

+ preferredVideoSize:

根据 videoSize 获取安全的size

+ (CGSize)preferredVideoSize:(CGSize)videoSize

Parameters

videoSize

videoSize

Return Value

CGSize

Declared In

TuSDKMediaFormatAssistant.h

+ safeVideoAssetReaderOutputSettings:

根据 AVAsset 创建一个安全视频解码器输出

+ (NSMutableDictionary *)safeVideoAssetReaderOutputSettings:(AVAsset *)asset

Parameters

asset

视频资源

Return Value

NSDictionary

Declared In

TuSDKMediaFormatAssistant.h

+ safeAssetReaderOutputPCMSettings

根据 AVAsset 创建一个安全音频解码器输出

+ (NSMutableDictionary *)safeAssetReaderOutputPCMSettings

Return Value

NSDictionary

Declared In

TuSDKMediaFormatAssistant.h