saki4510t / AudioVideoRecordingSample

Simultaneous audio and video recording sample using MediaCodec/MediaMuxer
Apache License 2.0
950 stars 291 forks source link

hello,I want to record on the md360player4android(https://github.com/ashqal/MD360Player4Android),can you help me ,thank you. #9

Open LaoMengFlutter opened 7 years ago

saki4510t commented 7 years ago

Hi, I don't try the project and I just saw the sources and this is just assuming. You will need to modify MD360Renderer and pass Surface from MediaCodec and render images into the Surface using OpenGL|ES at the same time when MD360Renderer renders images on GLSurfaceView/GLTextureView for preview. You will also need EGLSurface from the Surface so that MD360Renderer can render images on the Surface.