@@ -9,7 +9,16 @@ New versions are released through GitHub, so the reference page is the [GitHub R
99> Starting from 2.4.0, you can now [ support development] ( https://github.com/sponsors/natario1 ) through the GitHub Sponsors program.
1010 Companies can share a tiny part of their revenue and get private support hours in return. Thanks!
1111
12- ## v2.6.0
12+ ##### v2.6.1
13+
14+ - <small >[ Video] </small > New: ` takeVideo(FileDescriptor) ` for file descriptors, thanks to [ @sewar ] [ sewar ] ([ #732 ] [ 732 ] )
15+ - <small >[ Video] </small > Improvement: fixed "no encoder found" issues for some devices ([ #741 ] [ 741 ] )
16+ - <small >[ Camera2, Metering] </small > Improvement: increased metering timeout for touch metering ([ #741 ] [ 741 ] )
17+ - <small >[ Camera2, Metering] </small > Improvement: extended touch metering to LEGACY devices ([ #741 ] [ 741 ] )
18+
19+ < https://github.com/natario1/CameraView/compare/v2.6.0...v2.6.1 >
20+
21+ ### v2.6.0
1322
1423- <small >[ Metering] </small > New: ` startAutoFocus(RectF) ` will start 3A metering to a given rect instead of a spot ([ #724 ] [ 724 ] )
1524- <small >[ Permissions] </small > New: ` app:cameraRequestPermissions ` flag to disable the automatic activity permission request ([ #718 ] [ 718 ] )
@@ -19,7 +28,7 @@ Companies can share a tiny part of their revenue and get private support hours i
1928
2029< https://github.com/natario1/CameraView/compare/v2.5.0...v2.6.0 >
2130
22- ## v2.5.0
31+ ### v2.5.0
2332
2433- <small >[ Camera2] </small > New: support for RAW pictures with new APIs ` setPictureFormat() ` and ` CameraOptions.getSupportedPictureFormats() ` . Contains a ** breaking change** : ` PictureResult.getFormat() ` is not an integer anymore but rather a ` PictureFormat ` . This API had no real purpose so this might not affect you ([ #691 ] [ 691 ] )
2534- <small >[ Camera2] </small > New: support for constraining the frame processing size through ` setFrameProcessingMaxWidth() ` and ` setFrameProcessingMaxHeight() ` . This can improve processing performance ([ #691 ] [ 691 ] )
@@ -42,7 +51,7 @@ This change greatly improved the FPS performance, which is what matters the most
4251
4352< https://github.com/natario1/CameraView/compare/v2.4.0...v2.5.0 >
4453
45- ## v2.4.0
54+ ### v2.4.0
4655
4756- <small >[ Camera2] </small > New: support for ` previewFrameRate ` . Controls preview FPS, snapshot FPS, processor FPS, thanks to [ @vaibhavbhandula ] [ vaibhavbhandula ] ([ #653 ] [ 653 ] )
4857- <small >[ Camera1] </small > New: support for ` previewFrameRate ` for Camera1 ([ #661 ] [ 661 ] )
@@ -52,7 +61,7 @@ This change greatly improved the FPS performance, which is what matters the most
5261
5362< https://github.com/natario1/CameraView/compare/v2.3.1...v2.4.0 >
5463
55- #### v2.3.1
64+ ##### v2.3.1
5665
5766- <small >[ Video] </small > Improvement: better timing for ` onVideoRecordingStart() ` thanks to [ @agrawalsuneet ] [ agrawalsuneet ] ([ #632 ] [ 632 ] )
5867- <small >[ Video, Camera1] </small > Fix: fixed video errors when starting on specific devices ([ #617 ] [ 617 ] )
@@ -61,7 +70,7 @@ This change greatly improved the FPS performance, which is what matters the most
6170
6271< https://github.com/natario1/CameraView/compare/v2.3.0...v2.3.1 >
6372
64- ## v2.3.0
73+ ### v2.3.0
6574
6675- <small >[ Camera2, Metering] </small > New: ` startAutoFocus ` is much more powerful and does 3A metering (AF, AE, AWB) ([ #574 ] [ 574 ] )
6776- <small >[ Camera2, Metering] </small > New: ` setPictureMetering(boolean) ` decides whether to do metering before ` takePicture() ` . Defaults to true to improve quality. ([ #580 ] [ 580 ] )
@@ -77,7 +86,7 @@ This change greatly improved the FPS performance, which is what matters the most
7786
7887< https://github.com/natario1/CameraView/compare/v2.2.0...v2.3.0 >
7988
80- ## v2.2.0
89+ ### v2.2.0
8190
8291- <small >[ Real time filters] </small > New: ` SimpleFilter ` class accepts a fragment shader in the constructor ([ #552 ] [ 552 ] )
8392- <small >[ Real time filters] </small > New: ` MultiFilter ` to apply more than one filter at the same time ([ #559 ] [ 559 ] )
@@ -89,7 +98,7 @@ This change greatly improved the FPS performance, which is what matters the most
8998
9099< https://github.com/natario1/CameraView/compare/v2.1.0...v2.2.0 >
91100
92- ## v2.1.0
101+ ### v2.1.0
93102
94103This release adds experimental support for [ real-time filters] ( ../docs/filters ) thanks to [ @agrawalsuneet ] [ agrawalsuneet ] .
95104Please read the documentation page for usage instructions.
@@ -100,22 +109,22 @@ Please read the documentation page for usage instructions.
100109
101110< https://github.com/natario1/CameraView/compare/v2.0.0...v2.1.0 >
102111
103- ## v2.0.0
112+ ### v2.0.0
104113
105114- Fix: bug with picture recorder ([ #521 ] [ 521 ] )
106115- Fix: video snapshots appearing black ([ #528 ] [ 528 ] )
107116- Fix: video snapshots exceptions and audio issues ([ #530 ] [ 530 ] )
108117
109118< https://github.com/natario1/CameraView/compare/v2.0.0-rc2...v2.0.0 >
110119
111- #### v2.0.0-rc2
120+ ##### v2.0.0-rc2
112121
113122- Fix: crashes when stopping video snapshots ([ #513 ] [ 513 ] )
114123- Fix: dependencies missing, leading to runtime crashes ([ #517 ] [ 517 ] )
115124
116125< https://github.com/natario1/CameraView/compare/v2.0.0-rc1...v2.0.0-rc2 >
117126
118- ## v2.0.0-rc1
127+ ### v2.0.0-rc1
119128
120129This is likely to be the last release before v2.0.0.
121130
@@ -129,7 +138,7 @@ This is likely to be the last release before v2.0.0.
129138
130139< https://github.com/natario1/CameraView/compare/v2.0.0-beta06...v2.0.0-rc1 >
131140
132- #### v2.0.0-beta06
141+ ##### v2.0.0-beta06
133142
134143- New: Full featured Camera2 integration! Use ` cameraExperimental="true" ` and ` cameraEngine="camera2" ` to test this out. ([ #490 ] [ 490 ] )
135144- Improvement: we now choose a video recording profile that is compatible with the chosen size. Should fix some video recording issues. ([ #477 ] [ 477 ] )
@@ -145,7 +154,7 @@ If you were using `focusWithMarker`, you can [add back the old marker](../docs/m
145154
146155< https://github.com/natario1/CameraView/compare/v2.0.0-beta05...v2.0.0-beta06 >
147156
148- #### v2.0.0-beta05
157+ ##### v2.0.0-beta05
149158
150159- Fixed ` FrameProcessor ` freeze and release behavior, was broken ([ #431 ] [ 431 ] )
151160- New: new api ` setAutoFocusResetDelay ` to control the delay to reset the focus after autofocus was performed, thanks to [ @cneuwirt ] [ cneuwirt ] ([ #435 ] [ 435 ] )
@@ -154,33 +163,33 @@ If you were using `focusWithMarker`, you can [add back the old marker](../docs/m
154163
155164< https://github.com/natario1/CameraView/compare/v2.0.0-beta04...v2.0.0-beta05 >
156165
157- #### v2.0.0-beta04
166+ ##### v2.0.0-beta04
158167
159168- Renames setPreviewSize to setPreviewStreamSize (previewSize suggests it is related to the view size but it's not) ([ #393 ] [ 393 ] )
160169- 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.
161170
162171< https://github.com/natario1/CameraView/compare/v2.0.0-beta03...v2.0.0-beta04 >
163172
164- #### v2.0.0-beta03
173+ ##### v2.0.0-beta03
165174
166175- Fixed a few bugs ([ #392 ] [ 392 ] )
167176- Important fixes to video snapshot recording ([ #374 ] [ 374 ] )
168177
169178< https://github.com/natario1/CameraView/compare/v2.0.0-beta02...v2.0.0-beta03 >
170179
171- #### v2.0.0-beta02
180+ ##### v2.0.0-beta02
172181
173182- Fixed important bugs ([ #356 ] [ 356 ] )
174183- Picture snapshots are now flipped when front camera is used ([ #360 ] [ 360 ] )
175184- Added ` PictureResult.getFacing() ` and ` VideoResult.getFacing() ` ([ #360 ] [ 360 ] )
176185
177186< https://github.com/natario1/CameraView/compare/v2.0.0-beta01...v2.0.0-beta02 >
178187
179- ## v2.0.0-beta01
188+ ### v2.0.0-beta01
180189
181190This is the first beta release. For changes with respect to v1, please take a look at the [ migration guide] ( ../extra/v1-migration-guide ) .
182191
183- #### v1.6.1
192+ ##### v1.6.1
184193
185194This is the last release before v2.
186195
@@ -191,7 +200,7 @@ This is the last release before v2.
191200
192201< https://github.com/natario1/CameraView/compare/v1.6.0...v1.6.1 >
193202
194- ## v1.6.0
203+ ### v1.6.0
195204
196205- Lifecycle support. Use ` setLifecycleOwner ` instead of calling start, stop and destroy ([ #265 ] [ 265 ] )
197206- Enhancement: provide synchronous version of CameraUtils.decodeBitmap thanks to [ @athornz ] [ athornz ] ([ #224 ] [ 224 ] )
@@ -202,7 +211,7 @@ This is the last release before v2.
202211
203212< https://github.com/natario1/CameraView/compare/v1.5.1...v1.6.0 >
204213
205- #### v1.5.1
214+ ##### v1.5.1
206215
207216- Bug: byte array length for Frames was incorrect thanks to [ @ssakhavi ] [ ssakhavi ] ([ #205 ] [ 205 ] )
208217- Bug: gestures were crashing in some conditions ([ #222 ] [ 222 ] )
@@ -211,7 +220,7 @@ This is the last release before v2.
211220
212221< https://github.com/natario1/CameraView/compare/v1.5.0...v1.5.1 >
213222
214- ## v1.5.0
223+ ### v1.5.0
215224
216225- New: set encoder for video recordings with ` cameraVideoCodec ` ([ #174 ] [ 174 ] )
217226- New: set max duration for videos with ` cameraVideoMaxDuration ` ([ #172 ] [ 172 ] )
@@ -221,7 +230,7 @@ This is the last release before v2.
221230
222231< https://github.com/natario1/CameraView/compare/v1.4.2...v1.5.0 >
223232
224- #### v1.4.2
233+ ##### v1.4.2
225234
226235- Add prefix to XML resources so they don't collide, thanks to [ @RocketRider ] [ RocketRider ] ([ #162 ] [ 162 ] )
227236- Add ` videoMaxSize ` API and XML attribute, to set max size video in bytes, thanks to [ @chaitanyaraghav ] [ chaitanyaraghav ] ([ #104 ] [ 104 ] )
@@ -230,7 +239,7 @@ This is the last release before v2.
230239
231240< https://github.com/natario1/CameraView/compare/v1.4.1...v1.4.2 >
232241
233- #### v1.4.1
242+ ##### v1.4.1
234243
235244- Fixed a bug that would flip the front camera preview on some devices ([ #112 ] [ 112 ] )
236245- Two new ` CameraOptions ` APIs: ` o.getSupportedPictureSizes() ` and ` o.getSupportedPictureAspectRatios() ` ([ #101 ] [ 101 ] )
@@ -243,7 +252,7 @@ This is the last release before v2.
243252
244253< https://github.com/natario1/CameraView/compare/v1.4.0...v1.4.1 >
245254
246- ## v1.4.0
255+ ### v1.4.0
247256
248257- CameraView is now completely thread-safe. All actions are asynchronous. ([ #97 ] [ 97 ] )
249258 This has some breaking drawbacks. Specifically, the ` get ` methods (e.g., ` getWhiteBalance ` ) might
@@ -262,22 +271,22 @@ This is the last release before v2.
262271
263272< https://github.com/natario1/CameraView/compare/v1.3.2...v1.4.0 >
264273
265- #### v1.3.2
274+ ##### v1.3.2
266275
267276- Fixed a memory leak thanks to [ @andrewmunn ] [ andrewmunn ] ([ #92 ] [ 92 ] )
268277- Reduced memory usage when using cropOutput thanks to [ @RobertoMorelos ] [ RobertoMorelos ] ([ #93 ] [ 93 ] )
269278- Improved efficiency for Frame processors, recycle buffers and Frames ([ #94 ] [ 94 ] )
270279
271280< https://github.com/natario1/CameraView/compare/v1.3.1...v1.3.2 >
272281
273- #### v1.3.1
282+ ##### v1.3.1
274283
275284- Fixed a bug that would make setFacing and other APIs freeze the camera ([ #86 ] [ 86 ] )
276285- Fixed ConcurrentModificationExceptions during CameraListener callbacks ([ #88 ] [ 88 ] )
277286
278287< https://github.com/natario1/CameraView/compare/v1.3.0...v1.3.1 >
279288
280- ## v1.3.0
289+ ### v1.3.0
281290
282291- Ability to inject frame processors to do your own visual tasks (barcodes, facial recognition etc.) ([ #82 ] [ 82 ] )
283292- Ability to inject external loggers (e.g. Crashlytics) to listen for internal logging events ([ #80 ] [ 80 ] )
@@ -306,6 +315,7 @@ This is the last release before v2.
306315[ agrawalsuneet ] : https://github.com/agrawalsuneet
307316[ RAN3000 ] : https://github.com/RAN3000
308317[ vaibhavbhandula ] : https://github.com/vaibhavbhandula
318+ [ sewar ] : https://github.com/sewar
309319
310320
311321[ 73 ] : https://github.com/natario1/CameraView/pull/73
@@ -391,3 +401,5 @@ This is the last release before v2.
391401[ 716 ] : https://github.com/natario1/CameraView/pull/716
392402[ 718 ] : https://github.com/natario1/CameraView/pull/718
393403[ 724 ] : https://github.com/natario1/CameraView/pull/724
404+ [ 732 ] : https://github.com/natario1/CameraView/pull/732
405+ [ 741 ] : https://github.com/natario1/CameraView/pull/741
0 commit comments