textureview onSurfaceTextureAvailable never called inside relativelayout inside fragment

后端 未结 7 1434
走了就别回头了
走了就别回头了 2020-12-10 10:52

onSurfaceTextureAvailable in VideoView is never called...
I have this view that is holding the textureview.

public class MyMediaPlayer extends RelativeLa         


        
7条回答
  •  执念已碎
    2020-12-10 11:32

    I have met the same issue, onSurfaceTextureAvailable never called. Finally I found my textureview is invisible before setSurfaceTextureListener. So check status of textureview at first.

提交回复
热议问题