fijkplayer icon indicating copy to clipboard operation
fijkplayer copied to clipboard

[BUG]横屏切换,导致列表页面的initState重新执行,播放错乱

Open lejun opened this issue 3 years ago • 0 comments

Describe the bug 场景,视频列表(类抖音),滑动若干条,切换为视频为横屏,会触发列表页面的生命周期(initState),导致视频源播放错乱

What attempts have you made to resolve this error ? 参考Demo中ListView的实现方式,(示例中没有看到全屏切换)

To Reproduce 问题的复现步骤 Steps to reproduce the behavior:

  1. 进入列表播放视频
  2. 滑动若干条视频
  3. 切换为横屏(全屏)
  4. 视频源错乱

fijkplayer version Which version you used. 用了. 0.10.1 版本的 fijkplayer

Smartphone (please complete the following information): 什么手机设备和系统版本?

  • Device: 红米10
  • OS: android11

lejun avatar Feb 24 '22 09:02 lejun