23
Need to help
How play video on
Surface(OpenGL)in Android? I tried playing video inmySurfaceView extends SurfaceViewwith help methodsetSurface()inMediaPlayer.SurfaceTexture mTexture = new SurfaceTexture(texture_id); Surface mSurface = new Surface(mTexture); MediaPlayer mp = new MediaPlayer(); mp.setSurface(mSurface);
I got only playing audio - video not playing.
- How get video buffer for sending in
OpenGL?? - How playing video on
GLTexture?