Mattia Iavarone
e9cba8c6ec
Add VideoCodec option ( #174 )
...
* Add VideoCodec options
* Fix tests
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
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
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
33162f0e31
Improve CameraOptions APIs, cleanup ( #101 )
...
* Improve CameraOptions APIs, cleanup
* Test flip
* Remove unwanted API
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
6b9affc435
Make CameraView thread-safe ( #97 )
...
* Make CameraController fully async, fix shutter sounds, tests
* Schedule everything to the same handler
* Ignore integration tests in travis
* Add basic error handling
* Revert useless logs
7 years ago
Mattia Iavarone
a31dd1d57c
Recycle buffers and Frame instances ( #94 )
7 years ago
Mattia Iavarone
011754203c
Avoid ConcurrentModificationExceptions in listeners ( #88 )
7 years ago
Mattia Iavarone
2685f47472
Improve CameraUtils.decodeBitmap ( #83 )
7 years ago
Mattia Iavarone
e40f93acfb
Frame processors ( #82 )
...
* Create the Frame class
* Implement callback dispatcher
* Dispatch actual preview frames
* Add docs
* Readme nits
* Don't leak processors
* Rename clear() to release()
* Add preview format and Size
* Readme nits again
7 years ago
Mattia Iavarone
399e0e4d76
Inject external loggers ( #80 )
...
* Improve CameraLogger, add tests
* Add log docs
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
f8d38e3c8c
Add playSounds support ( #43 )
7 years ago
Mattia Iavarone
cf3bfc1ed0
New tests, add CameraController.STATE ( #37 )
...
* Add set/get parameters tests
* CameraCallbacks tests
* Nits
* Nits 2
* Nits 3
* Nits 4
* CameraController integration tests
* Fix some bugs
* Add CameraController.STATE, fix CameraView.isStarted()
* Fix old tests
* Video and focus tests
* Remove video test, fails on Travis
* Add picture tests
* Remove other video test
* Add audio tests
* new travis.yml
* WorkerHandler changes
* Better GridLinesLayoutTest
* Try add logcat to travis build
* Debug failing test
* Add logs
* Grant permissions, bump tests to N
* Add wake locks
* Add wake lock permission
* Remove integration tests
* Change view matcher
* Refinements
7 years ago
Mattia Iavarone
0a8e2f3de7
Dont require AUDIO permission if audio is OFF ( #39 )
7 years ago
Andrew
aeb0083352
Added audio on/off feature for video recording ( #33 )
7 years ago
Mattia Iavarone
66077c1eaa
Improve coverage ( #22 )
...
* New tests
* Try adjust codecov
* CropHelper and CameraUtils tests
* Set target coverage to 40%
* OrientationHelperTest
* Preview tests
* Fix SurfaceView
* Introduce Task for async tests
* Gesture tests
* Improve Gesture Tests
* Add wake lock
* Fix view size
* Add build info logs
* Revert info
* Try fix bug
* Test timeout
* Try fix tests
* Fix TextureView tests if not hardware accelerated
* Fix bug
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
41f9f51ef9
Add instrumentation tests and codecov support ( #18 )
...
* Add instrumentation tests
* Run androidTests on api 22
* Fix lint errors
* Nits
* Add codecov support
* Shield
7 years ago