onSurfaceTextureAvailable in VideoView is never called...
I have this view that is holding the textureview.
public class MyMediaPlayer extends RelativeLa
In my case I initially had my TextureView invisible and then loaded after fetching some data and this was causing onSurfaceTextureAvailable not to be called. I am guessing that for TextureView to be said to be 'available', it must be visible. My solution was to just make the TextureView visible from the start.