TuSDKMediaTimelineAssetMoviePlayerDelegate Protocol Reference

Conforms to NSObject
Declared in TuSDKMediaTimelineAssetMoviePlayer.h

– mediaTimelineAssetMoviePlayer:progressChanged:outputTime:outputSlice: required method

进度改变事件

- (void)mediaTimelineAssetMoviePlayer:(TuSDKMediaTimelineAssetMoviePlayer *_Nonnull)player progressChanged:(CGFloat)percent outputTime:(CMTime)outputTime outputSlice:(TuSDKMediaTimelineSlice *_Nonnull)outputSlice

Parameters

player

当前播放器

percent

(0 - 1)

outputTime

当前帧所在持续时间

outputSlice

当前正在输出的切片信息

Availability

v3.0

Declared In

TuSDKMediaTimelineAssetMoviePlayer.h

– mediaTimelineAssetMoviePlayer:statusChanged: required method

播放器状态改变事件

- (void)mediaTimelineAssetMoviePlayer:(TuSDKMediaTimelineAssetMoviePlayer *_Nonnull)player statusChanged:(TuSDKMediaPlayerStatus)status

Parameters

player

当前播放器

status

当前播放器状态

Availability

v3.0

Declared In

TuSDKMediaTimelineAssetMoviePlayer.h