Telegram
Telegram copied to clipboard
CameraX Android Contest 2021
- Using CameraX in the attachment menu and for recording video messages when api ≥ 21, otherwise using legacy camera
- Using max photo resolution available on device with target aspect 16:9, target video resolution increased to 1080p or max available on device
- Fixed bug with cameraview glitch when photo attachment layout scrolls and cameraview goes off the screen, added cameraview parallax
- Fixed mirroring video when recording with front face camera in attachments
- Added exposure compensation feature in cameraview to expand the possibilities of shooting in contrasting light, added EV slider, zoom slider moved to a more intuitive location. Added 2D gesture recognition while recording to adjust zoom and EV at the same time
- "Use CameraX API"/"Use legacy camera API" in debug menu

this code however has problems with the zoom, when you start recording a video, it starts with the wide angle zoom