TuSDKMediaDecoder Protocol Reference

Declared in TuSDKMediaDecoder.h

Overview

视频数据解码器

– startDeocder required method

@method startDeocder

- (void)startDeocder

Discussion

@discussion 启动解码器

Declared In

TuSDKMediaDecoder.h

– cancelDecoder required method

@method cancelDecoder

- (void)cancelDecoder

Discussion

@discussion 停止解码器

Declared In

TuSDKMediaDecoder.h

– addDecompressSampleBufferTarget: required method

@method addDecompressSampleBufferTarget: @abstract Adds an output to the receiver.

- (void)addDecompressSampleBufferTarget:(_Nonnull id<TuSDKSampleBufferInput>)outputTarget

Discussion

@param outputTarget The TuSDKSampleBufferInput object to be added.

@discussion 用于接收输出的解码数据

Declared In

TuSDKMediaDecoder.h

– removeDecompressSampleBufferTarget: required method

@method removeDecompressSampleBufferTarget: @abstract remove an output to the receiver.

- (void)removeDecompressSampleBufferTarget:(_Nonnull id<TuSDKSampleBufferInput>)outputTarget

Discussion

@param outputTarget The TuSDKSampleBufferInput object to be removed.

@discussion 移除接收数据target

Declared In

TuSDKMediaDecoder.h