Correction: instead of taking camera provider out losing camera access entirely, I should be disabling external camera probe so that the two hal implementation are not fighting with eachother
however, now I'm met with a hal1 <-> libcameraservice error message along with black screen video capture, triggered by starting jitsi meet once, gettings proper video input, turn camera off in the app/close the app, start video capturing again
ps: with the same version of hardware/libcamera as cm-14.1-r4 which doesn't have this problem
07-11 10:46:10.965 1394 2980 I chatty : uid=1047(cameraserver) prov...@2.4-se expire 2 lines
07-11 10:46:10.969 1410 1474 I chatty : uid=1047(cameraserver) HwBinder:1410_1 expire 3 lines
07-11 10:46:11.177 1394 2980 I chatty : uid=1047(cameraserver) prov...@2.4-se expire 3 lines
07-11 10:46:11.285 1410 1474 I chatty : uid=1047(cameraserver) HwBinder:1410_1 expire 3 lines
07-11 10:46:11.493 1394 2980 I chatty : uid=1047(cameraserver) prov...@2.4-se expire 50 lines
07-11 10:46:11.600 1410 1474 I chatty : uid=1047(cameraserver) HwBinder:1410_1 expire 52 lines
07-11 10:46:12.173 2696 2772 I org.webrtc.Logging: CameraStatistics: Camera fps: 0.
07-11 10:46:14.175 2696 2772 I org.webrtc.Logging: CameraStatistics: Camera fps: 0.
07-11 10:46:14.176 2696 2772 E org.webrtc.Logging: CameraStatistics: Camera freezed.
07-11 10:46:14.176 2696 2772 D com.oney.WebRTCModule.WebRTCModule: CameraEventsHandler.onCameraFreezed: errorDescription=Camera failure.
07-11 10:46:16.325 2696 2696 I JitsiMeetSDK: PictureInPicture Entering Picture-in-Picture
07-11 10:46:16.770 1394 2980 I chatty : uid=1047(cameraserver) prov...@2.4-se expire 5 lines
07-11 10:46:16.941 2696 2722 I JitsiMeetSDK: [features/base/lastn] Setting last N to: 1
07-11 10:46:16.984 2696 2701 I
org.jitsi.meet: Compiler allocated 14MB to compile void com.facebook.react.uimanager.x.g()
07-11 10:46:17.091 1410 1474 I chatty : uid=1047(cameraserver) HwBinder:1410_1 expire 3 lines
07-11 10:46:17.302 1394 2980 I chatty : uid=1047(cameraserver) prov...@2.4-se expire 3 lines
07-11 10:46:17.415 1410 1474 I chatty : uid=1047(cameraserver) HwBinder:1410_1 expire 4 lines
07-11 10:46:17.621 1394 2980 I chatty : uid=1047(cameraserver) prov...@2.4-se expire 4 lines
07-11 10:46:17.834 1410 1474 I chatty : uid=1047(cameraserver) HwBinder:1410_1 expire 3 lines
07-11 10:46:18.040 1394 2980 I chatty : uid=1047(cameraserver) prov...@2.4-se expire 3 lines
07-11 10:46:18.152 1410 1474 I chatty : uid=1047(cameraserver) HwBinder:1410_1 expire 9 lines
07-11 10:46:18.358 1394 2980 I chatty : uid=1047(cameraserver) prov...@2.4-se expire 11 lines
07-11 10:46:18.859 2696 2722 I JitsiMeetSDK: [features/base/lastn] Setting last N to: -1
07-11 10:46:19.109 1410 1474 I chatty : uid=1047(cameraserver) HwBinder:1410_1 expire 4 lines
07-11 10:46:19.532 1394 2980 I chatty : uid=1047(cameraserver) prov...@2.4-se expire 2 lines
07-11 10:46:19.535 1410 1474 I chatty : uid=1047(cameraserver) HwBinder:1410_1 expire 3 lines
07-11 10:46:19.741 1394 2980 I chatty : uid=1047(cameraserver) prov...@2.4-se expire 4 lines
07-11 10:46:19.851 1410 1474 I chatty : uid=1047(cameraserver) HwBinder:1410_1 expire 4 lines
07-11 10:46:20.164 1394 2980 I chatty : uid=1047(cameraserver) prov...@2.4-se expire 3 lines
07-11 10:46:20.271 1410 1474 I chatty : uid=1047(cameraserver) HwBinder:1410_1 expire 3 lines
07-11 10:46:20.481 1394 2980 I chatty : uid=1047(cameraserver) prov...@2.4-se expire 4 lines
07-11 10:46:20.595 1410 1474 I chatty : uid=1047(cameraserver) HwBinder:1410_1 expire 4 lines
07-11 10:46:20.908 1394 2980 I chatty : uid=1047(cameraserver) prov...@2.4-se expire 3 lines
07-11 10:46:21.016 1410 1474 I chatty : uid=1047(cameraserver) HwBinder:1410_1 expire 3 lines
07-11 10:46:21.223 1394 2980 I chatty : uid=1047(cameraserver) prov...@2.4-se expire 2 lines
07-11 10:46:21.331 1410 1474 E CameraHardwareInterface: dataCallback: memory pool ID 9 not found
07-11 10:46:21.435 1410 1474 E CameraHardwareInterface: dataCallback: memory pool ID 9 not found
07-11 10:46:21.540 1410 1474 E CameraHardwareInterface: dataCallback: memory pool ID 9 not found
07-11 10:46:21.645 1410 1474 E CameraHardwareInterface: dataCallback: memory pool ID 9 not found
07-11 10:46:21.749 1410 1474 E CameraHardwareInterface: dataCallback: memory pool ID 9 not found
07-11 10:46:21.854 1410 1474 E CameraHardwareInterface: dataCallback: memory pool ID 9 not found
07-11 10:46:21.959 1410 1474 E CameraHardwareInterface: dataCallback: memory pool ID 9 not found
07-11 10:46:22.063 1410 1474 E CameraHardwareInterface: dataCallback: memory pool ID 9 not found
07-11 10:46:22.179 1410 1474 E CameraHardwareInterface: dataCallback: memory pool ID 9 not found
07-11 10:46:22.291 1410 1474 E CameraHardwareInterface: dataCallback: memory pool ID 9 not found
...