Marc Rousavy
8d90dcc476
fix: Make HardwareBuffers compile optionally (opt-out in minSdkVersion <26) ( #1910 )
...
* fix: Make HardwareBuffers compile optionally
* chore: Format C++ code
* fix: Fix if
2023-10-03 13:18:41 +02:00
Marc Rousavy
83c0cdb030
fix: Fix CamcorderProfile
get crash on Samsung devices ( #1907 )
2023-10-03 12:04:03 +02:00
Marc Rousavy
1cdc3d1d9c
fix: Fix +load
not available in Xcode 15 error ( #1908 )
2023-10-03 12:03:29 +02:00
Marc Rousavy
24f77fb224
fix: Use simple wide-angle device if no options are passed ( #1909 )
2023-10-03 12:03:20 +02:00
Mateusz Mędrek
bdd81cf2fb
chore: Improve native Frame Processor Plugin documentation ( #1877 )
2023-10-03 11:36:55 +02:00
Mateusz Mędrek
62e786ad04
docs: Add Kotlin & Swift FP plugins examples ( #1902 )
...
* chore(docs): add Kotlin FP example
* chore(docs): add Swift FP plugin
2023-10-03 11:33:48 +02:00
Marc Rousavy
b24b1c808f
docs: Fix links
2023-10-03 11:31:37 +02:00
Marc Rousavy
d465c37bea
fix: Remove dng
PixelFormat
2023-10-03 11:27:46 +02:00
Shiran Gabriel
12c2987b85
doc: Code fixes on saving & getting the photo in TAKING_PHOTOS.mdx ( #1896 )
...
code fixes on saving & getting the photo in TAKING_PHOTOS.mdx
- The variable path has been renamed to file, as camera.current.takePhoto() always returns a file
- CameraRoll.save() method has been updated to use file.path for saving the captured photo.
- fetch() method has been updated to use file.path on getting captured photo as blob
2023-10-03 11:20:41 +02:00
Marc Rousavy
554b7416b1
docs: Update minSdkVersion to 26
2023-10-03 11:04:36 +02:00
Marc Rousavy
39b9c908f9
docs: Fix b
2023-09-30 15:34:31 +02:00
Lihang Xu
94c05f9113
docs: Add Dynamsoft Document Normalizer to the frame processor plugins lists ( #1331 )
...
Update FRAME_PROCESSOR_PLUGIN_LIST.mdx
Add Dynamsoft Document Normalizer.
Co-authored-by: Marc Rousavy <me@mrousavy.com>
2023-09-30 15:33:08 +02:00
Yasin Torun
3a080901a8
docs: Add vision-camera-base64 plugin to list ( #1411 )
...
* docs: Add vision-camera-base64 plugin to list
* chore: Update text
* Update FRAME_PROCESSOR_PLUGIN_LIST.mdx
---------
Co-authored-by: Marc Rousavy <me@mrousavy.com>
Co-authored-by: Marc Rousavy <marcrousavy@hotmail.com>
2023-09-30 15:32:03 +02:00
Marc Rousavy
68ba886b3c
Update BUG_REPORT.yml
2023-09-30 13:44:09 +02:00
Marc Rousavy
68776f683b
chore: Type examplePlugin
2023-09-30 13:35:04 +02:00
Marc Rousavy
b92960a837
chore: Use max zoom of 10 in example
2023-09-30 13:23:17 +02:00
Marc Rousavy
6882ce9ef4
Update FEATURE_REQUEST.yml
2023-09-30 13:18:36 +02:00
Marc Rousavy
be3d802267
chore: Remove unused ImageWriter
2023-09-30 13:01:56 +02:00
Marc Rousavy
ce07750dea
docs: Fix runAsync
example
2023-09-30 12:12:43 +02:00
Marc Rousavy
af2ef57951
chore: release 3.2.2
2023-09-30 11:23:05 +02:00
Marc Rousavy
edd73619c3
fix: Fix useCameraDevices
ignoring position
2023-09-30 11:20:11 +02:00
Marc Rousavy
844759e5b1
Update Podfile.lock
2023-09-30 11:17:27 +02:00
Marc Rousavy
56f3dcf1c8
chore: release 3.2.1
2023-09-30 10:52:05 +02:00
Marc Rousavy
2430058cae
fix: Fix redeclaration build error on Android
2023-09-30 10:51:32 +02:00
Marc Rousavy
34f4038e05
chore: release 3.2.0
2023-09-29 21:59:26 +02:00
Marc Rousavy
b397315360
chore: Include README.md in npm package
2023-09-29 21:59:02 +02:00
Marc Rousavy
f78f05a32c
chore: Add README to npm package
2023-09-29 21:56:34 +02:00
Marc Rousavy
85564d6d02
fix: Remove unused Error codes ( #1887 )
...
* fix: Remove unused Errors
* Errors.kt -> CameraError.kt
* fix: remove .system
2023-09-29 21:54:35 +02:00
Marc Rousavy
cf1952d8f7
feat: Use AHardwareBuffer*
for frame.toArrayBuffer()
( #1888 )
...
* feat: Route images through `ImageWriter` into OpenGL pipeline
* fix: Use RGB format
* fix: Every device supports YUV, RGB and NATIVE
* Update VideoPipeline.kt
* log format
* Plug ImageReader between OpenGL pipeline
* Call Frame Processor
* Format
* Remove logs
* feat: Use `HardwareBuffer` for `toArrayBuffer()`
* Format
2023-09-29 21:54:04 +02:00
Marc Rousavy
954b44810b
feat: Route images through ImageWriter
into OpenGL pipeline ( #1874 )
...
* feat: Route images through `ImageWriter` into OpenGL pipeline
* fix: Use RGB format
* fix: Every device supports YUV, RGB and NATIVE
* Update VideoPipeline.kt
* log format
* Plug ImageReader between OpenGL pipeline
* Call Frame Processor
* Format
* Remove logs
2023-09-29 21:52:19 +02:00
Marc Rousavy
a1fbba8d66
chore: Fix formatting
2023-09-29 19:42:28 +02:00
Touch Marine
fb812a6618
fix: Incorrect zoom on Android < 11 ( #1878 )
...
* fix: Incorrect zoom on Android < 11
Fixes #1865
* Clamp zoom on Android
Some unclamped zoom values crash. For example, zoom={0.5} crashes
(tested on Android 9).
* Extract zoom into an extension (Android)
* Update package/android/src/main/java/com/mrousavy/camera/extensions/CaptureRequest+setZoom.kt
---------
Co-authored-by: Marc Rousavy <marcrousavy@hotmail.com>
2023-09-29 19:41:37 +02:00
Marc Rousavy
5a98716f31
docs: Update link colors
2023-09-29 19:28:38 +02:00
Marc Rousavy
fd6d52f1de
docs: Fix search by disabling contextual search
2023-09-29 19:18:00 +02:00
Marc Rousavy
9bad0bb99e
Update RECORDING_VIDEOS.mdx
2023-09-29 16:53:24 +02:00
Marc Rousavy
046bf2d18e
Update README.md
2023-09-29 16:15:02 +02:00
Marc Rousavy
016dfa725d
Update Podfile.lock
2023-09-29 15:31:35 +02:00
Marc Rousavy
9d02f5141d
fix: Use compressed buffer format as default format as well ( #1884 )
...
* fix: Use compressed buffer format as default format as well
* chore: Format Swift
2023-09-29 15:27:17 +02:00
Marc Rousavy
902dc634a4
feat: Add customizable Video Bit Rate (videoBitRate
) ( #1882 )
...
* feat: Add `videoBitRate` option to `RecordVideoOptions`
* feat: Implement `videoBitRate` on iOS
* feat: Implement `videoBitRate` on Android
* chore: Format
* docs: Separate recording and photo docs
* docs: Fix links
* docs: Add docs about bitrate and quality
* docs: Add blob
* fix: Don't use inline style for CI
* fix: Correctly log default bitRate
* fix: Fix typo
* fix: Calculate default bit-rate on Android depending on resolution
* Update RecordingSession.kt
2023-09-29 15:27:09 +02:00
Marc Rousavy
1c8c081e11
docs: Use updated Search index
2023-09-29 14:16:36 +02:00
Marc Rousavy
ad48823553
docs: Fix Algolia not working
2023-09-29 14:11:45 +02:00
Marc Rousavy
3d8d05302d
docs: Add Community Discord
2023-09-27 17:40:15 +02:00
Marc Rousavy
fb6ebd9ee1
fix: Allow nil preferredDevice
...
Fixes #1870
2023-09-27 12:51:38 +02:00
Marc Rousavy
eec9a3eb6e
docs: Make images responsive
2023-09-27 12:21:34 +02:00
Marc Rousavy
bb7549bc01
docs: Fix highlight
2023-09-27 12:15:42 +02:00
Marc Rousavy
4830ba8bf6
docs: Fix hightlight line
2023-09-27 12:10:06 +02:00
Marc Rousavy
42d9948e8a
docs: Fix codeblocks alignment
2023-09-26 14:48:10 +02:00
Marc Rousavy
2c5c7d63b1
docs: Don't use bold links ( #1860 )
2023-09-26 14:42:22 +02:00
Ben Schlegel
04fd597866
docs: Fix docusaurus code block styling ( #1859 )
2023-09-26 14:20:24 +02:00
Marc Rousavy
8a7e45d6c6
docs: New default color ( #1857 )
...
* docs: New default color
* fix: Adjust codeblocks
* highlight color
2023-09-26 14:20:05 +02:00