Skip to content

Commit

Permalink
Added Video Framerate to Fix 'prepare' crash
Browse files Browse the repository at this point in the history
  • Loading branch information
jaredsburrows committed Jan 11, 2015
1 parent 70954af commit 032efa3
Showing 1 changed file with 1 addition and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -163,6 +163,7 @@ private void startRecording() {
recorder = new MediaRecorder();
recorder.setVideoSource(SURFACE);
recorder.setOutputFormat(MPEG_4);
recorder.setVideoFrameRate(30);
recorder.setVideoEncoder(H264);
recorder.setVideoSize(displayWidth, displayHeight);
recorder.setVideoEncodingBitRate(8 * 1000 * 1000);
Expand Down

0 comments on commit 032efa3

Please sign in to comment.