I have one GLsurfaceview and a SurfaceView video when I added a Surfaceview to the GLSurfaceView to play the video, and as a result I get a black screen instead of the video screen. I get the sound correctly, but the video screen does not appear and it remains black during the whole video.
Both are used for the different purpose of GLSurfaceView for page rotation while watching a video image for ExoPlayer.
GLSurfaceView:
public class CurlView extends GLSurfaceView implements View.OnTouchListener, CurlRenderer.Observer { }
SurfaceView video for ExoPlayer:
public class VideoSurfaceView extends SurfaceView { }
source share