TuSDKMediaEditorTranscoderDelegate Protocol Reference

Conforms to NSObject
Declared in TuSDKMediaMovieEditorTranscoder.h

– mediaEditorTranscoder:progressChanged: required method

转码进度改变事件

- (void)mediaEditorTranscoder:(TuSDKMediaMovieEditorTranscoder *_Nonnull)transcoder progressChanged:(CGFloat)percentage

Parameters

transcoder

TuSDKMediaEdiorTranscoder

percentage

进度百分比 (0 - 1)

Availability

v3.0

Declared In

TuSDKMediaMovieEditorTranscoder.h

– mediaEditorTranscoder:statusChanged: required method

播放器状态改变事件

- (void)mediaEditorTranscoder:(TuSDKMediaMovieEditorTranscoder *_Nonnull)transcoder statusChanged:(TuSDKMediaExportSessionStatus)status

Parameters

transcoder

当前转码器

status

当前播放器状态

Availability

v3.0

Declared In

TuSDKMediaMovieEditorTranscoder.h

– mediaEditorTranscoder:result:error: required method

转码完成

- (void)mediaEditorTranscoder:(TuSDKMediaMovieEditorTranscoder *_Nonnull)transcoder result:(TuSDKVideoResult *_Nullable)result error:(NSError *_Nullable)error

Parameters

transcoder

转码器

result

TuSDKVideoResult

error

错误信息

Availability

v3.0

Declared In

TuSDKMediaMovieEditorTranscoder.h