Android-ScalableVideoView
Android-ScalableVideoView copied to clipboard
Fix SurfaceTexture can be available before the setData method is called
@pgloaguen Sorry for late reply, but could u please tell me in detail why u need this workaround?
It feels like if onSurfaceTextureAvailable() happens before initializeMediaPlayer(), media player fails to set surface. So, video will not be visible while sound is still playing. I am not sure.