Вопрос

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 ?

Это было полезно?

Решение

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

Лицензировано под: CC-BY-SA с атрибуция
Не связан с StackOverflow
scroll top