public class MediaMovieRecorder extends AbstractRecorder
| Modifier and Type | Class and Description |
|---|---|
static interface |
MediaMovieRecorder.IRecorderCallback |
mAudioEncoder, mEncoderCount, mIsStarted, mOutputPath, mStartedCount, mVideoEncoder| Constructor and Description |
|---|
MediaMovieRecorder(java.lang.String output_path,
boolean audio_recording) |
| Modifier and Type | Method and Description |
|---|---|
MediaMovieRecorder.IRecorderCallback |
getCallback() |
int |
getHeight() |
android.view.Surface |
getInputSurface() |
int |
getWidth() |
protected void |
internal_start() |
protected void |
internal_stop() |
void |
setCallback(MediaMovieRecorder.IRecorderCallback callback) |
void |
setVideoSize(int width,
int height) |
frameAvailableSoon, isStarted, prepare, release, startRecording, stopRecordingpublic MediaMovieRecorder(java.lang.String output_path,
boolean audio_recording)
throws java.io.IOException
java.io.IOExceptionpublic void setCallback(MediaMovieRecorder.IRecorderCallback callback)
public MediaMovieRecorder.IRecorderCallback getCallback()
public void setVideoSize(int width,
int height)
public int getWidth()
getWidth in class AbstractRecorderpublic int getHeight()
getHeight in class AbstractRecorderpublic android.view.Surface getInputSurface()
throws java.lang.IllegalStateException
getInputSurface in class AbstractRecorderjava.lang.IllegalStateExceptionprotected void internal_start()
internal_start in class AbstractRecorderprotected void internal_stop()
internal_stop in class AbstractRecorder