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

硬解播放器总是会黑一下然后再开始播放 #117

Closed
gf5353 opened this issue May 23, 2016 · 4 comments
Closed

硬解播放器总是会黑一下然后再开始播放 #117

gf5353 opened this issue May 23, 2016 · 4 comments

Comments

@gf5353
Copy link

gf5353 commented May 23, 2016

No description provided.

@Jhuster
Copy link
Contributor

Jhuster commented May 24, 2016

@gf5353 刚刚我用 demo 使用硬解播放,没有出现黑一下的问题,确认一下你的流是否有问题。另外,画面没出来前本来就是黑屏状态,“黑一下” 的意思是?

@gf5353
Copy link
Author

gf5353 commented May 24, 2016

@Jhuster 直接是demo上的 PLMediaPlayerActivity 硬解没有没有这个现象,PLVideoViewActivity 和PLVideoTextureActivity 的硬解 和软解对比,loading状态消失后都会黑一阵子,软解不会,起播速度软解比硬解快

@Jhuster
Copy link
Contributor

Jhuster commented May 24, 2016

@gf5353 嗯,明白你的意思了,PLXXXViewloading 是判断 MEDIA_INFO_VIDEO_RENDERING_START 或者 MEDIA_INFO_AUDIO_RENDERING_START 出现后就隐藏了,硬解部分机型可能渲染画面较慢,建议仿照 “ PLMediaPlayerActivity” 自己来做 PLXXXViewloading 动画,只判断 MEDIA_INFO_VIDEO_RENDERING_START 出现再隐藏。

@gf5353
Copy link
Author

gf5353 commented May 24, 2016

@Jhuster ok明白了

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

3 participants