Skip to content

Grey camera picture #9

@ligi

Description

@ligi
Image Image

I think this part of the log is related:

8-12 19:22:14.142  3819  3879 E CamcorderProfileUtils: Failed to get maximum FPS for Camera ID 0! null
08-12 19:22:14.142  3819  3879 E CamcorderProfileUtils: java.util.NoSuchElementException
08-12 19:22:14.142  3819  3879 E CamcorderProfileUtils: 	at com.mrousavy.camera.core.utils.CamcorderProfileUtils$Companion.findClosestCamcorderProfileQuality(CamcorderProfileUtils.kt:142)
08-12 19:22:14.142  3819  3879 E CamcorderProfileUtils: 	at com.mrousavy.camera.core.utils.CamcorderProfileUtils$Companion.getMaximumFps(CamcorderProfileUtils.kt:85)
08-12 19:22:14.142  3819  3879 E CamcorderProfileUtils: 	at com.mrousavy.camera.core.CameraDeviceDetails.getFormats(CameraDeviceDetails.kt:135)
08-12 19:22:14.142  3819  3879 E CamcorderProfileUtils: 	at com.mrousavy.camera.core.CameraDeviceDetails.toMap(CameraDeviceDetails.kt:84)
08-12 19:22:14.142  3819  3879 E CamcorderProfileUtils: 	at com.mrousavy.camera.react.CameraDevicesManager.getDevicesJson(CameraDevicesManager.kt:91)
08-12 19:22:14.142  3819  3879 E CamcorderProfileUtils: 	at com.mrousavy.camera.react.CameraDevicesManager.sendAvailableDevicesChangedEvent(CameraDevicesManager.kt:98)
08-12 19:22:14.142  3819  3879 E CamcorderProfileUtils: 	at com.mrousavy.camera.react.CameraDevicesManager$initialize$1.invokeSuspend(CameraDevicesManager.kt:75)
08-12 19:22:14.142  3819  3879 E CamcorderProfileUtils: 	at kotlin.coroutines.jvm.internal.BaseContinuationImpl.resumeWith(ContinuationImpl.kt:33)
08-12 19:22:14.142  3819  3879 E CamcorderProfileUtils: 	at kotlinx.coroutines.DispatchedTask.run(DispatchedTask.kt:101)
08-12 19:22:14.142  3819  3879 E CamcorderProfileUtils: 	at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1167)
08-12 19:22:14.142  3819  3879 E CamcorderProfileUtils: 	at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:641)
08-12 19:22:14.142  3819  3879 E CamcorderProfileUtils: 	at java.lang.Thread.run(Thread.java:923)
08-12 19:22:14.144  3819  3879 D CapabilitiesByQuality: profiles = ImmutableEncoderProfilesProxy{defaultDurationSeconds=60, recommendedFileFormat=2, audioProfiles=[AudioProfileProxy{codec=3, mediaType=audio/mp4a-latm, bitrate=512000, sampleRate=48000, channels=2, profile=2}], videoProfiles=[VideoProfileProxy{codec=2, mediaType=video/avc, bitrate=12000000, frameRate=30, width=1920, height=1080, profile=-1, bitDepth=8, chromaSubsampling=0, hdrFormat=0}]}
08-12 19:22:14.144  3819  3879 D CapabilitiesByQuality: profiles = ImmutableEncoderProfilesProxy{defaultDurationSeconds=60, recommendedFileFormat=2, audioProfiles=[AudioProfileProxy{codec=3, mediaType=audio/mp4a-latm, bitrate=512000, sampleRate=48000, channels=2, profile=2}], videoProfiles=[VideoProfileProxy{codec=2, mediaType=video/avc, bitrate=8000000, frameRate=30, width=1280, height=720, profile=-1, bitDepth=8, chromaSubsampling=0, hdrFormat=0}]}
08-12 19:22:14.144  3819  3879 D CapabilitiesByQuality: profiles = ImmutableEncoderProfilesProxy{defaultDurationSeconds=60, recommendedFileFormat=2, audioProfiles=[AudioProfileProxy{codec=3, mediaType=audio/mp4a-latm, bitrate=512000, sampleRate=48000, channels=2, profile=2}], videoProfiles=[VideoProfileProxy{codec=2, mediaType=video/avc, bitrate=3000000, frameRate=30, width=720, height=480, profile=-1, bitDepth=8, chromaSubsampling=0, hdrFormat=0}]}
08-12 19:22:14.147  3819  3879 E CamcorderProfileUtils: Failed to get maximum FPS for Camera ID 1! null
08-12 19:22:14.147  3819  3879 E CamcorderProfileUtils: java.util.NoSuchElementException
08-12 19:22:14.147  3819  3879 E CamcorderProfileUtils: 	at com.mrousavy.camera.core.utils.CamcorderProfileUtils$Companion.findClosestCamcorderProfileQuality(CamcorderProfileUtils.kt:142)
08-12 19:22:14.147  3819  3879 E CamcorderProfileUtils: 	at com.mrousavy.camera.core.utils.CamcorderProfileUtils$Companion.getMaximumFps(CamcorderProfileUtils.kt:85)
08-12 19:22:14.147  3819  3879 E CamcorderProfileUtils: 	at com.mrousavy.camera.core.CameraDeviceDetails.getFormats(CameraDeviceDetails.kt:135)
08-12 19:22:14.147  3819  3879 E CamcorderProfileUtils: 	at com.mrousavy.camera.core.CameraDeviceDetails.toMap(CameraDeviceDetails.kt:84)
08-12 19:22:14.147  3819  3879 E CamcorderProfileUtils: 	at com.mrousavy.camera.react.CameraDevicesManager.getDevicesJson(CameraDevicesManager.kt:91)
08-12 19:22:14.147  3819  3879 E CamcorderProfileUtils: 	at com.mrousavy.camera.react.CameraDevicesManager.sendAvailableDevicesChangedEvent(CameraDevicesManager.kt:98)
08-12 19:22:14.147  3819  3879 E CamcorderProfileUtils: 	at com.mrousavy.camera.react.CameraDevicesManager$initialize$1.invokeSuspend(CameraDevicesManager.kt:75)
08-12 19:22:14.147  3819  3879 E CamcorderProfileUtils: 	at kotlin.coroutines.jvm.internal.BaseContinuationImpl.resumeWith(ContinuationImpl.kt:33)
08-12 19:22:14.147  3819  3879 E CamcorderProfileUtils: 	at kotlinx.coroutines.DispatchedTask.run(DispatchedTask.kt:101)
08-12 19:22:14.147  3819  3879 E CamcorderProfileUtils: 	at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1167)
08-12 19:22:14.147  3819  3879 E CamcorderProfileUtils: 	at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:641)
08-12 19:22:14.147  3819  3879 E CamcorderProfileUtils: 	at java.lang.Thread.run(Thread.java:923)

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions