android vitamio multiple videoview error

拈花ヽ惹草 提交于 2019-12-12 10:13:01

问题


I edit VideoViewDemo because I need two (or more) stream rtsp in same layout.

I use a relative layout with two VideoView and add code in VideoViewDemo to fill each surface.

Result is that two video is overlapping each other and logcat give me many times this error :

E/SurfaceTextureClient(4717): Surface::lock failed, already locked
01-15 17:41:07.328: E/VitamioPlayer: LOCK BUFFER FAILED
E/SurfaceTexture(144): [SurfaceView] dequeueBuffer: can’t dequeue multiple buffers without setting the buffer count

I make same thing with MediaPlayer demo, with same effect...

I read that this is library bug, someone has solved this ?


回答1:


Vitamio dont support multiple videoView. maybe will add in the future.



来源:https://stackoverflow.com/questions/21165283/android-vitamio-multiple-videoview-error

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!