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

你好,由于sinavideo_playersdk使用的SurfaceView作为显示图像的控件,所以在将sdk放在一个listView的item上时,很容易发生闪屏,请问有什么比较好的解决办法么? #7

Open
rooneyGG opened this issue Apr 25, 2016 · 5 comments

Comments

@rooneyGG
Copy link

No description provided.

@leftatrium2
Copy link
Contributor

这个,我暂时想不到别的方案,因为视频播放的特殊性,是没办法使用同步的View来处理的,只能使用异步的View,所以,当初选择了surfaceview

@rooneyGG
Copy link
Author

rooneyGG commented May 3, 2016

如果没有ListView这类空间,使用surfaceview还是能完全满足条件的。之前微视中播放控件是能扔ListView上面的,不知道那边是用的什么办法? 另外,能否讲解一下项目中引入DLNA这个主要是干什么?谢谢了

@leftatrium2
Copy link
Contributor

其实,我很奇怪你的问题,因为基本我知道的播放器都使用surfaceview/glsurfaceview来作为显示

@rooneyGG
Copy link
Author

你好,因为之前在ListView上放的Item有surfaceview播放视频,这样容易闪屏,没找到好的解决办法;另外,demo中的那个listview也有同样的问题;用TetureView 解决问题,但是在比较高的版本才能使用;望帮助,谢谢!

@a354425558
Copy link

我用了demo后, 出现视频掉帧,卡顿现象,我在play的时候, 直接调的本地地址file://...........................这是什么原因

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