MediaCodec decodes to GLSurfaceView private< /span> void createCodecFromGL(){ mRtmpView = (RTMPDisplayView2)findViewById(R.id.view_preview); mRtmpView.init(); new Thread(){ @Override public void ru
Tag: Mediacodec
MediaCodec Coding from Surface
encoding from surface This is a function after api 18. Next, try to render the phone camera preview to the Input Surface. Then encode the Surface.
First, the Surface is created by MediaCodec: