You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
85 lines
4.6 KiB
85 lines
4.6 KiB
---
|
|
layout: page
|
|
title: "Changelog"
|
|
category: about
|
|
date: 2018-12-20 17:49:29
|
|
order: 3
|
|
---
|
|
|
|
New versions are released through GitHub, so the reference page is the [GitHub Releases](https://github.com/natario1/CameraView/releases) page.
|
|
|
|
### v2.0.0 (to be released)
|
|
|
|
- New: support for watermarks and animated overlays ([docs](../docs/watermarks-and-overlays.html)), thanks to [@RAN3000][RAN3000] ([#502][502], [#421][421])
|
|
- New: added `onVideoRecordingStart()` to be notified when video recording starts, thanks to [@agrawalsuneet][agrawalsuneet] ([#498][498])
|
|
- New: added `onVideoRecordingEnd()` to be notified when video recording ends ([#506][506])
|
|
- New: added `Audio.MONO` and `Audio.STEREO` to control the channel count for videos and video snapshots ([#506][506])
|
|
- New: added `cameraUseDeviceOrientation` to choose whether picture and video outputs should consider the device orientation or not ([#497][497])
|
|
- Improvement: improved Camera2 stability and various bugs fixed (e.g. [#501][501])
|
|
- Improvement: improved video snapshots speed, quality and stability ([#506][506])
|
|
|
|
### v2.0.0-beta06
|
|
|
|
- New: Full featured Camera2 integration! Use `cameraExperimental="true"` and `cameraEngine="camera2"` to test this out. ([#490][490])
|
|
- Improvement: we now choose a video recording profile that is compatible with the chosen size. Should fix some video recording issues. ([#477][477])
|
|
- Improvement: most internals are now open to be accessed by subclassing. Feel free to open PRs with more protected methods to be overriden. ([#494][494])
|
|
- **Breaking change**: some public classes have been moved to different packages. See [table here](../extra/v1-migration-guide.html#repackaging). ([#482][482])
|
|
- **Breaking change**: the listener methods `onFocusStart` and `onFocusEnd` are now called `onAutoFocusStart` and `onAutoFocusEnd`. ([#484][484])
|
|
- **Breaking change**: the gesture actions `focus` and `focusWithMarker` have been removed and replaced by `autoFocus`, which shows no marker. ([#484][484])
|
|
- New: new API called `setAutoFocusMarker()` lets you choose your own marker. ([#484][484])
|
|
|
|
If you were using `focus`, just switch to `autoFocus`.
|
|
|
|
If you were using `focusWithMarker`, you can [add back the old marker](../docs/controls.html#cameraautofocusmarker).
|
|
|
|
|
|
### v2.0.0-beta05
|
|
|
|
- Fixed `FrameProcessor` freeze and release behavior, was broken ([#431][431])
|
|
- New: new api `setAutoFocusResetDelay` to control the delay to reset the focus after autofocus was performed, thanks to [@cneuwirt][cneuwirt] ([#435][435])
|
|
- Faster camera preview on layout changes ([#403][403])
|
|
- A few bug fixes ([#471][471])
|
|
|
|
### v2.0.0-beta04
|
|
|
|
- Renames setPreviewSize to setPreviewStreamSize (previewSize suggests it is related to the view size but it's not) ([#393][393])
|
|
- Added new APIs `setSnapshotMaxWidth` and `setSnapshotMaxHeight` ([#393][393]). You can now have a good looking preview but still take low-res snapshots using these snapshot constraints. Before this, the two sizes were coupled.
|
|
|
|
### v2.0.0-beta03
|
|
|
|
- Fixed a few bugs ([#392][392])
|
|
- Important fixes to video snapshot recording ([#374][374])
|
|
|
|
### v2.0.0-beta02
|
|
|
|
- Fixed important bugs ([#356][356])
|
|
- Picture snapshots are now flipped when front camera is used ([#360][360])
|
|
- Added `PictureResult.getFacing()` and `VideoResult.getFacing()` ([#360][360])
|
|
|
|
### v2.0.0-beta01
|
|
|
|
This is the first beta release. For changes with respect to v1, please take a look at the [migration guide](../extra/v1-migration-guide.html).
|
|
|
|
[cneuwirt]: https://github.com/cneuwirt
|
|
[agrawalsuneet]: https://github.com/agrawalsuneet
|
|
[RAN3000]: https://github.com/RAN3000
|
|
|
|
[356]: https://github.com/natario1/CameraView/pull/356
|
|
[360]: https://github.com/natario1/CameraView/pull/360
|
|
[374]: https://github.com/natario1/CameraView/pull/374
|
|
[392]: https://github.com/natario1/CameraView/pull/392
|
|
[393]: https://github.com/natario1/CameraView/pull/393
|
|
[471]: https://github.com/natario1/CameraView/pull/471
|
|
[431]: https://github.com/natario1/CameraView/pull/431
|
|
[403]: https://github.com/natario1/CameraView/pull/403
|
|
[421]: https://github.com/natario1/CameraView/pull/421
|
|
[435]: https://github.com/natario1/CameraView/pull/435
|
|
[477]: https://github.com/natario1/CameraView/pull/477
|
|
[482]: https://github.com/natario1/CameraView/pull/482
|
|
[484]: https://github.com/natario1/CameraView/pull/484
|
|
[490]: https://github.com/natario1/CameraView/pull/490
|
|
[497]: https://github.com/natario1/CameraView/pull/497
|
|
[498]: https://github.com/natario1/CameraView/pull/498
|
|
[501]: https://github.com/natario1/CameraView/pull/501
|
|
[502]: https://github.com/natario1/CameraView/pull/502
|
|
[506]: https://github.com/natario1/CameraView/pull/506
|
|
|