public final class MediaRecorder.VideoSource extends Object
MediaRecorder.setVideoSource(int)
.public static final int DEFAULT
public static final int CAMERA
Using the Camera
API as video source.
public static final int SURFACE
Using a Surface as video source.
This flag must be used when recording from an
android.hardware.camera2
API source.
When using this video source type, use MediaRecorder.getSurface()
to retrieve the surface created by MediaRecorder.