Mattia Iavarone
bd7a4d3cc9
Add isTakingPicture(), use in demo app
6 years ago
Mattia Iavarone
dbdade2525
Fix VideoRecorder bug
6 years ago
Mattia Iavarone
92b0b05c68
Add VideoRecorder interface and MediaRecorderVideoRecorder for standard videos
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
8c41a12e66
Update docs
6 years ago
Mattia Iavarone
24d08c7aa1
Nits
6 years ago
Mattia Iavarone
2cd8ad1fa6
getPictureSize and getPreviewSize now return sizes in the output reference
6 years ago
Mattia Iavarone
3a937a9787
Fix tests, refactoring
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
eeca06f1da
Remove ExtraProprties
6 years ago
Mattia Iavarone
49fa18901e
take APIs refactoring, removing deprecated
6 years ago
Mattia Iavarone
4a926b30bb
Remove cropOutput
6 years ago
Mattia Iavarone
fb7c5cfa09
Remove JpegQuality
6 years ago
Mattia Iavarone
ad48d0be76
Refactor Mapper class
6 years ago
Mattia Iavarone
b9a5e4eb9e
Bump version ( #337 )
...
* Bump version
* Update CHANGELOG
6 years ago
Mattia Iavarone
68e7631d17
Restore frame processor after videos ( #344 )
6 years ago
matanelgabsi
4d654f649d
Ability to add pass BitmapFactory.Options to decodeBitmap. ( #319 )
...
* Added support for passing BitmapFactory options to decodeBitmap
* Fixes
6 years ago
Mahdi
e0602c7ab6
Swallow RuntimeExcpetions on autoFocus ( #332 )
6 years ago
Keyrillanskiy
d0bb8cd31c
Fixed TextureView crash with setBackgroundDrawable ( #297 )
...
solution from here - https://stackoverflow.com/a/47796036
6 years ago
Artur Artikov
ee1d3979f9
Use cached orientation in OrientationHelper ( #290 )
6 years ago
Mattia Iavarone
14581075b7
Update CameraException.java
6 years ago
Mattia Iavarone
640ec2da08
Bump version ( #266 )
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
Aleksandr
7f43a4a10b
Fixed Exception on some devices when we use default videoCodec instead CamcorderProfile videoCodec. ( #264 )
...
Looks like passing camcorderProfile.videoCodec instead of MediaRecorder.VideoEncoder.DEFAULT avoids some exceptions.
6 years ago
MatFl
c113933b60
Prevent context leak through SystemSensorManager ( #245 )
6 years ago
Josh Burton
819638862f
Provides synchronous version of decodeBitmap ( #224 )
...
* Provides synchronous version of decodeBitmap and adds annotation to make it clear this should run on a worker thread
Closes #221
* Tidies up decodeBitmap javadoc
7 years ago
Mattia Iavarone
c3e3d43b28
Bump version ( #222 )
...
* Bump version
* update jacoco
7 years ago
Siavash Sakhavi
86c3eae957
Removed +1 from frame byte return ( #205 )
7 years ago
Mattia Iavarone
0200e2cf61
Bump version ( #175 )
7 years ago
Mattia Iavarone
e9cba8c6ec
Add VideoCodec option ( #174 )
...
* Add VideoCodec options
* Fix tests
7 years ago
Mattia Iavarone
0494477c3b
Reset flags when stopping ( #173 )
7 years ago
Mattia Iavarone
c1973b0d71
Add setVideoMaxDuration() API ( #172 )
...
* Add setVideoMaxDuration() API
* Better tests
7 years ago
Mattia Iavarone
9b8cc16d96
Add discrete granularity to pinch and scroll events ( #170 )
...
* Add discrete granularity to pinch and scroll events
* Better tests
7 years ago
Mattia Iavarone
ef1a4ecc65
Check focus area max number before applying ( #167 )
7 years ago
Mattia Iavarone
bcb2cfeb7f
Bump version ( #166 )
7 years ago
Michael Möbius
9bb5a7c289
#160 Add prefix for resources ( #162 )
7 years ago
Viktar Patotski
e3abae9d7b
Fix camera mute ( #143 )
...
* mute camera in case if it's supported and required
* applyPlaySound properly
* fix compilation error
* fix comments
* fix comments 2
* add integration test for setPlaySounds
* pass mPlaySoundsTask
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
YeungKC
2dd19121fc
Fix preview size selection ( #133 )
...
matchRatio may get unexpected size when implementation of getSupportedPreviewSizes() decides to return values in a non-descending order.
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
0716904922
Bump version
7 years ago
Mattia Iavarone
ced60586c2
Change the offset computation for front cameras ( #112 )
7 years ago
Mattia Iavarone
3bc6d96ac3
Add base Control class, add easy setters and CameraOptions APIs ( #105 )
7 years ago
Mattia Iavarone
33162f0e31
Improve CameraOptions APIs, cleanup ( #101 )
...
* Improve CameraOptions APIs, cleanup
* Test flip
* Remove unwanted API
7 years ago
Mattia Iavarone
02a5f8268d
Bump version
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