我想以不同的速度在MPMoviePlayerController中播放/转发视频。谁能建议我该怎么做。

现在,我正在快进(单速),但几秒钟后又恢复了正常速度。

请提出建议。

最佳答案

MPMoviePlayerController Conforms to MPMediaPlayback protocol
you can see the property currentPlaybackRate as :-
@property(nonatomic) float currentPlaybackRate
A value of 0 represents that the video is stopped , a value of 1 indicates normal speed and further positive values indicate increased speed while negative ones indicate reverse .

另外,请检查您的MPMediaPlayback寻访委托方法,因为它是将播放恢复为正常状态的唯一方法

10-06 02:56