使用exoplayer内核导致子线程操作UI

作者: csbz17027创建于 2019年4月24日更新于 2021年4月29日
标签good solution

** What jzvd version 6.4.1 ** Is it related to the Android version? What version? No ** Is it related to a specific brand of mobile phone model? What model? No ** What is the related log? W/SimpleExoPlayer: Player is accessed on the wrong thread. See https://google.GitHub.io/ExoPlayer/faqs.html#what-do-player-is-accessed-on-the-wrong-thread-warnings-mean ** Reproduction process Playing videos will produce this warning, and it does happen occasionally when the app goes to the background due to a crash caused by operating the view in a sub-thread.

内容来源: lipangit/JiaoZiVideoPlayer