diff --git a/packages/camera/CHANGELOG.md b/packages/camera/CHANGELOG.md index ebf654f49b22..8c2106b33bbb 100644 --- a/packages/camera/CHANGELOG.md +++ b/packages/camera/CHANGELOG.md @@ -1,3 +1,7 @@ +## 0.5.8+12 + +* Added information of video not working correctly on Android emulators to `README.md`. + ## 0.5.8+11 * Fix rare nullptr exception on Android. diff --git a/packages/camera/README.md b/packages/camera/README.md index c56ed0dfe349..39d3ed88abea 100644 --- a/packages/camera/README.md +++ b/packages/camera/README.md @@ -41,6 +41,8 @@ Change the minimum Android sdk version to 21 (or higher) in your `android/app/bu minSdkVersion 21 ``` +It's important to note that the `MediaRecorder` class is not working properly on emulators, as stated in the documentation: https://developer.android.com/reference/android/media/MediaRecorder. Specifically, when recording a video with sound enabled and trying to play it back, the duration won't be correct and you will only see the first frame. + ### Handling Lifecycle states As of version [0.5.0](https://github.com/flutter/plugins/blob/master/packages/camera/CHANGELOG.md#050) of the camera plugin, lifecycle changes are no longer handled by the plugin. This means developers are now responsible to control camera resources when the lifecycle state is updated. Failure to do so might lead to unexpected behavior (for example as described in issue [#39109](https://github.com/flutter/flutter/issues/39109)). Handling lifecycle changes can be done by overriding the `didChangeAppLifecycleState` method like so: diff --git a/packages/camera/pubspec.yaml b/packages/camera/pubspec.yaml index 7a2b187098ef..827ddc450fce 100644 --- a/packages/camera/pubspec.yaml +++ b/packages/camera/pubspec.yaml @@ -2,7 +2,7 @@ name: camera description: A Flutter plugin for getting information about and controlling the camera on Android and iOS. Supports previewing the camera feed, capturing images, capturing video, and streaming image buffers to dart. -version: 0.5.8+11 +version: 0.5.8+12 homepage: https://github.com/flutter/plugins/tree/master/packages/camera