List of usage examples for android.graphics SurfaceTexture.OnFrameAvailableListener interface-usage
From source file demo.camera.library.ui.CameraCaptureActivity.java
/**
* Shows the camera preview on screen while simultaneously recording it to a .mp4 file.
* <p>
* Every time we receive a frame from the camera, we need to:
* <ul>
* <li>Render the frame to the SurfaceView, on GLSurfaceView's renderer thread.
From source file com.aimfire.demo.CamcorderActivity.java
@SuppressWarnings("deprecation") public class CamcorderActivity extends Activity implements SurfaceTexture.OnFrameAvailableListener, OnItemSelectedListener { private static final String TAG = "CamcorderActivity"; private static final boolean VERBOSE = false;