Mattia Iavarone
d462b83048
v2.0.0-beta03 ( #392 )
...
* Fix #377 and update dependencies
* Fix #384
* Fix unbindFromSurface bug
* Bump version to v2.0.0-beta03
* Update build.gradle
6 years ago
Mattia Iavarone
7411614433
Improve snapshot recording ( #374 )
...
* Timestamp changes
* Revisit Audio encoding, create object pools
* Use a Pool for float[] arrays
* Remove unused audioBitRate from audio encoder
* Fix demo app video duration
* Correctly release pools
* Restore output bitrate
* Release textureFrame pool
6 years ago
Mattia Iavarone
7a5e0b33e4
Fix demo app
6 years ago
Mattia Iavarone
8f00cb5dac
Add toFile utility in CameraUtils and in PictureResult
6 years ago
Mattia Iavarone
ae2eada2a2
Migrate to AndroidX
6 years ago
Mattia Iavarone
26f313c74e
Documentation in GitHub pages
6 years ago
Mattia Iavarone
d1ed8033e6
Add nullable and nonnull annotations everywhere
6 years ago
Mattia Iavarone
fd69768ac0
Improvements for supporting a round preview and output
6 years ago
Mattia Iavarone
1b5a20b034
Fix demo app null pointer, add null annotations
6 years ago
Mattia Iavarone
bb0e08c731
Fix OutOfMemoryError in BitmapCallback
6 years ago
Mattia Iavarone
b1f584aede
Changes in the demo app
6 years ago
Mattia Iavarone
ddf7c960c3
Remove cameraFacing definition in demo app
6 years ago
Mattia Iavarone
69349b0187
Facing now defaults to FRONT if we have no BACK cameras. Throw a new CameraException if no camera found
6 years ago
Mattia Iavarone
4f95c3e7d5
Add max size and duration constraints to videos
6 years ago
Mattia Iavarone
419ff34736
Create PictureRecorder and two implementations
6 years ago
Mattia Iavarone
481062a08b
Change demo app appearance
6 years ago
Mattia Iavarone
2999e9aa65
Respect VideoCodec from options
6 years ago
Mattia Iavarone
926b03cf35
Fix transformation issues in preview and final video result
6 years ago
Mattia Iavarone
d291d88814
Working implementation of MediaCodecVideoRecorder
6 years ago
Mattia Iavarone
31a5d20fcd
Revert demo app changes
6 years ago
Mattia Iavarone
e207041a31
Add cropping functionality to GLCameraPreview
6 years ago
Mattia Iavarone
ab576286f3
Temp commit
6 years ago
Mattia Iavarone
4f6271d670
Add GLCameraPreview based on GLSurfaceView, preview appears to be working with some bugs
6 years ago
Mattia Iavarone
bd7a4d3cc9
Add isTakingPicture(), use in demo app
6 years ago
Mattia Iavarone
d409bb2449
Add setVideoSize, video size selectors and available video sizes in CameraOptions
6 years ago
Mattia Iavarone
acf1b4cdde
Removed VideoQuality.
6 years ago
Mattia Iavarone
a37caf0760
Rename SessionType to Mode. takePicture fails when Mode == VIDEO
6 years ago
Mattia Iavarone
969c5a8c74
Fix preview size computation, demo app details
6 years ago
Mattia Iavarone
2cd8ad1fa6
getPictureSize and getPreviewSize now return sizes in the output reference
6 years ago
Mattia Iavarone
2500b81b78
Move to PictureResult, rewrote takePicture and takePictureSnapshot
6 years ago
Mattia Iavarone
68ff331a80
Refactor onVideoTaken, introducing VideoResult
6 years ago
Mattia Iavarone
49fa18901e
take APIs refactoring, removing deprecated
6 years ago
Mattia Iavarone
3d8bf1618c
Error handling and lifecycle boilerplate ( #265 )
...
* Update dependencies
* Improve error handling
* Add lifecycle support
* Use lifecycle in demo app
* Add README info
6 years ago
Mattia Iavarone
07f6078385
Demo app - Lock orientation to a fixed value ( #168 )
7 years ago
Jonas Rottmann
0a54bf4543
Migrate to new Android Gradle plugin ( #153 )
...
* Migrate to new Android Gradle plugin
* Updated gradle to 4.5 and downgraded JaCoCo
7 years ago
chaitanyaraghav
1bd1816919
Max video file size ( #104 )
...
* Added a maximum file size for videos
* Revereted changes to the onVideoTaken callback signature
* Renamed isRecordingVideo, added xml attribute for video max size and updated the documentation
7 years ago
Mattia Iavarone
3bc6d96ac3
Add base Control class, add easy setters and CameraOptions APIs ( #105 )
7 years ago
Mattia Iavarone
dcf5ef4120
Option to choose the picture output size ( #99 )
...
* Add SizeSelectors and tests
* Implement SizeSelectors in CameraController
* XML attrs, improve AspectRatio cache
* AspectRatio tests
* Flip sizes before passing to selectors
* Add README info
* Fix preview sizing bug
* Nits
* Fix #98
7 years ago
Mattia Iavarone
2685f47472
Improve CameraUtils.decodeBitmap ( #83 )
7 years ago
Mattia Iavarone
b9f0f27d8d
Small changes
7 years ago
Mattia Iavarone
b1d183a714
Fix a hardware acceleration bug, disable SurfaceViewPreview features ( #54 )
...
* Layout changes
* SurfaceView onSurfaceCreated is too early. Fix
* Add logs
* Refactor some classes, fix hardware acceleration bug, disable cropping for SurfaceView
* Update README with known limitations
7 years ago
Mattia Iavarone
5964080db4
New demo app ( #53 )
...
* New demo app
* UI fixes
* Refactor preview activities
* Add gestures control
7 years ago
Andrew
aeb0083352
Added audio on/off feature for video recording ( #33 )
7 years ago
Mattia Iavarone
cce8d6e621
WorkerHandler survives config changes ( #29 )
...
* Weak cache for threads
* Add logs
* Fix manifest
7 years ago
Mattia Iavarone
53bb5baf42
Add logger for debugging ( #25 )
...
* Add logger for debugging
* Update CameraLogger.java
* Fix #27
* More log messages
7 years ago
Mattia Iavarone
4e5c772902
Fix location bug, add setLocation(Location) ( #10 )
7 years ago
Mattia Iavarone
9d9e93e67d
Scroll gestures support, abstracting GestureLayout
7 years ago
Mattia Iavarone
e5ca52a8d7
Moved SessionType to enums, removed CameraConstants
7 years ago
Mattia Iavarone
b65e9e446d
Moved VideoQuality to enums
7 years ago
Mattia Iavarone
776238a5df
Moved Grid to enums
7 years ago