I am working on a project where we need to record the rendered OpenGL surface. (for example if we use GLsurfaceView, we need to record the surface along with the audio from the MIC)
Presently I am using MediaRecorder API by setting the video source as the VIDEO_SOURCE_GRALLOC_BUFFER
.
I am using the following sample as the base code
I wanted to know ....
- Is this the right way? . Is there any better alternate ?
- The sample test given in the link is recording the audio and video of the EGLSURFACE but it is not displayed properly.
What might be the reason?
Any help/pointers is really appreciated.
thanks,
Satish