Use surfaceTexture for camera preview

Discussion in 'General Development' started by IES, Mar 14, 2016.

  1. IES

    IES New Member

    Hello,

    I have an android application to record, encode and transfer video to remote server and now I want to do the same with the Zidoo X9; the problem is that I need to use MediaCodec which needs a surface input from encoder but I don't know how to set the hdmi camera input to this surface.

    I saw the function TvManager.getInstance().getPlayerManager().setDisplay(SurfaceHolder sh), but I don't have a surface holder, only a surface.

    Can someone help me?
     
    Last edited: Mar 14, 2016

Share This Page