Mattia Iavarone
a7255ba35f
Refactor Previews
6 years ago
Mattia Iavarone
6e8b3a0420
Add VideoRecorder interface and MediaRecorderVideoRecorder for standard videos
6 years ago
Mattia Iavarone
6936c2b34e
Move to PictureResult, rewrote takePicture and takePictureSnapshot
6 years ago
Mattia Iavarone
dc34977833
Refactor onVideoTaken, introducing VideoResult
6 years ago
Mattia Iavarone
b2d70d57d4
Add isTakingPicture(), use in demo app
6 years ago
Mattia Iavarone
78c5e4b19c
Fix VideoRecorder bug
6 years ago
Mattia Iavarone
aa88eb08c6
Add VideoRecorder interface and MediaRecorderVideoRecorder for standard videos
6 years ago
Mattia Iavarone
658137b9bf
Add setVideoSize, video size selectors and available video sizes in CameraOptions
6 years ago
Mattia Iavarone
e1271d43c7
Removed VideoQuality.
6 years ago
Mattia Iavarone
7884f486e5
Rename SessionType to Mode. takePicture fails when Mode == VIDEO
6 years ago
Mattia Iavarone
348cda70ad
Fix preview size computation, demo app details
6 years ago
Mattia Iavarone
1fd0e957aa
Update docs
6 years ago
Mattia Iavarone
fbef2206c2
Nits
6 years ago
Mattia Iavarone
0c51d63e9c
getPictureSize and getPreviewSize now return sizes in the output reference
6 years ago
Mattia Iavarone
fca9d3fbd8
Fix tests, refactoring
6 years ago
Mattia Iavarone
a5f940517b
Move to PictureResult, rewrote takePicture and takePictureSnapshot
6 years ago
Mattia Iavarone
8ed10fea06
Refactor onVideoTaken, introducing VideoResult
6 years ago
Mattia Iavarone
03f8358d67
Remove ExtraProprties
6 years ago
Mattia Iavarone
337df9f540
take APIs refactoring, removing deprecated
6 years ago
Mattia Iavarone
7378e781cd
Remove cropOutput
6 years ago
Mattia Iavarone
74a4bac091
Remove JpegQuality
6 years ago
Mattia Iavarone
778ee7a79e
Refactor Mapper class
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
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
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
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
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
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
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
Roberto Morelos
04cf364b49
Reduced memory usage by recycling the bitmap ( #93 )
7 years ago