Using CameraX as the docs recommend is not a success. The API is still in alpha and currently does not support video recording. The functionality exists but has not yet been made public. It can be accessed, but this solution will not be a solid one. Getting the API to work as expected wasn't a success either since some weird internal errors occurred. TLDR: Not ready for production, not at all ready for video recording.
The camera2 library will be used for the new implementation, as was the case already. The new implementation will be made a lot more robust than the old one, which was pretty much copy-pasted from some example project deep in Github.
Using
CameraX
as the docs recommend is not a success. The API is still in alpha and currently does not support video recording. The functionality exists but has not yet been made public. It can be accessed, but this solution will not be a solid one. Getting the API to work as expected wasn't a success either since some weird internal errors occurred. TLDR: Not ready for production, not at all ready for video recording.The
camera2
library will be used for the new implementation, as was the case already. The new implementation will be made a lot more robust than the old one, which was pretty much copy-pasted from some example project deep in Github.