Lines Matching refs:MediaRecorder
26 import android.media.MediaRecorder;
42 * with either MediaCodec or MediaRecorder. MediaRecorder path is not
70 private MediaRecorder mMediaRecorder;
82 * or MediaRecorder.
455 mMediaRecorder = new MediaRecorder();
458 mMediaRecorder.setAudioSource(MediaRecorder.AudioSource.MIC);
459 mMediaRecorder.setVideoSource(MediaRecorder.VideoSource.SURFACE);
460 mMediaRecorder.setOutputFormat(MediaRecorder.OutputFormat.THREE_GPP);
465 mMediaRecorder.setVideoEncoder(MediaRecorder.VideoEncoder.H264);
466 mMediaRecorder.setAudioEncoder(MediaRecorder.AudioEncoder.AAC);
470 mMediaRecorder.setVideoSource(MediaRecorder.VideoSource.SURFACE);
471 mMediaRecorder.setOutputFormat(MediaRecorder.OutputFormat.WEBM);
476 mMediaRecorder.setVideoEncoder(MediaRecorder.VideoEncoder.VP8);
481 Log.v(TAG, "MediaRecorder throws IllegalStateException " + e.toString());
483 Log.v(TAG, "MediaRecorder throws IOException " + e.toString());