MPMoviePlayerController setCurrentPlaybackRate 不起作用
我们有一个在 iPad iOS 4.3.3 上运行的 http 流。 我们正在使用 MPMoviePlayerController。我正在尝试更改播放速率,以便通过使用以下方法实现自定义快进体验:
[player setCurrentPlaybackRate:2.0];
但它不起作用。如果我在上述代码行之后立即显示当前播放速率,则它仅显示 1.0。知道这是否不适用于流吗?文档没有提及任何相关内容。
We have an http stream running on iPad iOS 4.3.3.
We are using MPMoviePlayerController. I am trying to change the playback rate in order to implement a custom fast forward experience by using:
[player setCurrentPlaybackRate:2.0];
But it isn't working. If I display the current playback rate immediately after the above line of code, it displays 1.0 only. Any idea if this doesn't work for a stream? The documentation doesn't say anything about it.
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
使用 HTTP 流时,属性
currentPlaybackRate
确实不起作用。我建议您就此问题向 Apple 提交错误报告。我仍然认为它将来不会起作用,但可能另一个错误报告会促使苹果人员相应地更新他们的文档。The property
currentPlaybackRate
does indeed not work when using HTTP-streaming. I would suggest you to file a bug report to Apple on this issue. Still I assume it will not work in the future but possibly another bug report motivates them Apple folks to update their documentation accordingly.