TuSDKMediaMovieAssetTranscoderDelegate Protocol Reference
Conforms to | NSObject |
---|---|
Declared in | TuSDKMediaMovieAssetTranscoder.h |
– mediaAssetExportSession:progressChanged:outputTime:
required method
进度改变事件
- (void)mediaAssetExportSession:(TuSDKMediaMovieAssetTranscoder *_Nonnull)exportSession progressChanged:(CGFloat)percent outputTime:(CMTime)outputTime
Parameters
exportSession |
|
---|---|
percent |
(0 - 1) |
outputTime |
当前帧所在持续时间 |
Availability
v3.0
Declared In
TuSDKMediaMovieAssetTranscoder.h
– mediaAssetExportSession:statusChanged:
required method
播放器状态改变事件
- (void)mediaAssetExportSession:(TuSDKMediaMovieAssetTranscoder *_Nonnull)exportSession statusChanged:(TuSDKMediaExportSessionStatus)status
Parameters
exportSession |
|
---|---|
status |
当前播放器状态 |
Availability
v3.0
Declared In
TuSDKMediaMovieAssetTranscoder.h
– mediaAssetExportSession:result:error:
required method
播放器状态改变事件
- (void)mediaAssetExportSession:(TuSDKMediaMovieAssetTranscoder *_Nonnull)exportSession result:(TuSDKVideoResult *_Nonnull)result error:(NSError *_Nonnull)error
Parameters
exportSession |
|
---|---|
result |
|
error |
错误信息 |
Availability
v3.0
Declared In
TuSDKMediaMovieAssetTranscoder.h