AVPlayer - Benny Hill 风格的视频加速问题
我正在使用 AVPlayer 来显示直播。工作正常。我的应用程序的一部分需要在视频上显示模态视图。实际上,它翻转视频视图以显示模态视图。我希望视频的音频继续播放,效果很好。
然而,问题是当我回到视频时。视频的视觉效果加快了几秒钟,本尼希尔风格,以补偿他们离开屏幕的时间。然后视频开始正常播放。有办法阻止这种加速吗?如果没有,我可以删除视觉元素,直到加速位停止。
I'm using AVPlayer to show a live stream. Works fine. Part of my app requires a modal view to appear over the video. Actually, it flips the video view to show the modal view. I want the video's audio to keep playing, which it does fine.
However, the problem is when I return to the video. The video's visuals speed up for a few seconds, Benny Hill style, to compensate for the period they were off the screen. Then the video starts playing normally. Is there a way to stop this speed up? If not, can I remove the visual element until the speeded up bit stops.
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论