Skip to content
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

TV断上下换频道怎么恢复 #6

Open
lovewysy opened this issue Apr 20, 2022 · 1 comment
Open

TV断上下换频道怎么恢复 #6

lovewysy opened this issue Apr 20, 2022 · 1 comment

Comments

@lovewysy
Copy link

TV断上下换频道怎么恢复,我按照demo的写法第一次播放没问题,第二次依次调用release()、reset()、setPlayer()、setDataSource()、setOnSurfaceListener()怎么就不能播放了?

@jenly1314
Copy link
Owner

palyer.release() 不能乱调用的,一般在 Activity 的生命周期 onDestroy() 中调用

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants