-
Notifications
You must be signed in to change notification settings - Fork 304
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
第一次End后,因生命周期导致的崩溃问题 #113
Comments
你按照我的办法测试一下。先播放至结尾。然后按Home键转入后台,再切换回前台。此时点击重新播放会导致APP崩溃。 |
播放结束奇后,切换后台是吧 |
版本2.170 demo没有问题哦,请问你使用版本是 |
明白了,Demo用的是ManualPlayer,而我指的是ExoUserPlayer。刚测试过,Demo也存在问题的。 |
把本2.1.74 已修复,谢谢支持:bowtie::bowtie::bowtie: |
谢谢及时修复。建议把竖屏手势改成可选,再开放LongPress事件的监听。
|
以后版本考虑开放。 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
在第一次播放完成后,isEnd会被置为true,并且永远不会再被置为false(即使重新播放)。如此,在onPause后再次onResume时,不会再去创建player。这样就导致了无法继续播放,甚至于应用崩溃的问题。
The text was updated successfully, but these errors were encountered: