android/media-samples

Minor fixes

codingjeremy opened this issue · 0 comments

Issue by shchurov
Monday Dec 14, 2015 at 14:26 GMT
Originally opened as googlearchive/android-MediaRecorder#3


Some devices may not support all the sizes from getSupportedPreviewSizes() list for video recording. For this purpose camera api has method getSupportedVideoSizes(). Also MediaRecorder.stop() can throw an exception (check the docs) that should be handled.


shchurov included the following code: https://github.com/android/android-MediaRecorder/pull/3/commits