开发者

AVPlayer - Benny Hill style speeded up video issue

开发者 https://www.devze.com 2023-04-12 17:40 出处:网络
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 audi

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 norma开发者_开发百科lly. Is there a way to stop this speed up? If not, can I remove the visual element until the speeded up bit stops.

0

精彩评论

暂无评论...
验证码 换一张
取 消

关注公众号