Minor fixes

Open
#38 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Assessment

Difficulty
3/5
Estimated time
1-2 days
Newbie friendliness
25/100
Issue type
Bug
Clarity
Mostly clear
Activity status
Stale
Tech stack
android, kotlin
Domain
mobile

Research direction

Locate the media-recording entry point that uses getSupportedPreviewSizes() and MediaRecorder.stop(), then read the Android media API documentation for getSupportedVideoSizes() and stop() exceptions. Done means video recording selects supported video sizes and handles a stop exception without crashing.

Written by the indexing model from the issue text.

Description

migrated googlesamples

Issue by shchurov
Monday Dec 14, 2015 at 14:26 GMT
Originally opened as https://github.com/android/android-MediaRecorder/pull/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

Dominant language
Kotlin
Stars
1.4k
Forks
777
Avg merge
1m
Merged PRs (30d)
1

Getting set up

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

More from android/media-samples

All issues in android/media-samples

Similar issues

More Kotlin issues

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.