(except for the webcam0 case which crashes the emulator).In another app where I use the Camera2 API I am able to use Webcam0. If I remove either the preview or the analyzerUseCase from bindToLifecycle() it works. If I set the camera to VirtualScene it works but the app is VERY laggy and unresponsive.We have generated supportedOutputSizesList by the priority order for* different use cases. What gives? Is anyone else having these issues?Edit to clarify: the following is in regard to the divide-by-zero the emulator abort is most likely a separate bug.* Try to list out all possible arrangements by attaching all possible size of each column* in sequence. And switching the camera settings "helps" in that the app crashes instead.Therefore, the earlier size arrangement in the result list will be* the better one to choose if finally it won't exceed the camera device's streamInt currentRunCount = totalArrangementsCount Int nextRunCount = currentRunCount / supportedOutputSizesList.get(0).
![]() ![]()
0 Comments
Leave a Reply. |
Details
AuthorAmanda ArchivesCategories |