This repository has been archived by the owner on Jun 16, 2023. It is now read-only.
-
-
Notifications
You must be signed in to change notification settings - Fork 3.5k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat(android): Improve Android Camera1 error and concurrency handling. (
#2471) These changes include the following: - use atomic boolean for capturing photo flag just like video - add more exception catching and checks - raise error instead of failing silently if can't capture photo - improve error handling here - synchronize stop to avoid race conditions and crashes - delay params updates (surface) if capturing or recording to avoid bugs - do not allow video or photo capture if already doing video or photo
- Loading branch information
1 parent
add1c0c
commit a20eb06
Showing
2 changed files
with
140 additions
and
75 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters