The types of cameras that can be obtained with getCameraDeviceList vary depending on the device

Why do the types of cameras that can be obtained differ depending on the device as shown below?

In both cases, characteristics.get(CameraCharacteristics.LENS_FACING) obtained from CameraManager is LENS_FACING_EXTERNAL.

AndroidTV11
Name :Front Camera
Type:0
AndroidTV14
Name :External Camera
Type:2

AndroidTV11 does not allow switching between multiple connected USB camera devices.

Even if I plug in and unplug the USB before the meeting starts, the list that can be obtained with getCameraDeviceList is not updated.
When will the list that can be obtained with this API be updated?

Is there any update on this?

Is there any update on this?

Is there any update on this?

Is there any update on this?

Is there any update on this?

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.

Hello akio and @skz ,

I believe that the SDK uses the Android default camera enumeration system. In other apps when you call this API, do you get different results when you plug and unplug USB devices?

Thank you for your patience,
Richard

Call this API in other app, successfully obtain the camera list.
Also, unplug and plug in the USB device, the camera list will change to External Camera (Type:2), but the video from the built-in camera will be output.
If the External Camera is inserted before launching the app, the External Camera will be selected and the video from the External Camera will be output.

Is there any update on this?

Hello skz,

The Zoom Android Meeting SDK selects the system default camera as the video output if the user does not switch the camera. So, what might be happening is that the default camera for the device is the external one when it is plugged in.

Also, unplug and plug in the USB device, the camera list will change to External Camera (Type:2), but the video from the built-in camera will be output.

Do other apps also treat the built-in camera as the output? Because if so, perhaps that is the device default at the time.

Thank you for your patience,
Richard

The information has been corrected.
Plug and unplug the USB camera after the Android system has started but before the app is launched, the system will switch to the external camera (type 2), but the video from the built-in camera will be output.
Plug and unplug the USB camera before the Android system is started, the external camera will be selected and the video from the External Camera will be output.

Is there any update on this?

When I checked the actual operation, it seems to be updated by initializing the SDK.
Is there a way to update the camera list without initializing the SDK?

Is there any update on this?

Is there any update on this?

Additionally, on certain Android TV 14 devices, when joining a meeting after plugging or unplugging a USB camera, JoinByURLActivity results in an ANR.
Please investigate the cause.

 ActivityManager system_server         E  ANR in AppName (AppName/com.zipow.videobox.JoinByURLActivity)                                    PID: 6999

                                     Reason: Input dispatching timed out (Application does not have a focused window)

                                     Parent: AppName/com.zipow.videobox.JoinByURLActivity

                                     ErrorId: 68e40028-dcee-4a80-8ba6-e2336eba82e0

                                     Frozen: false

                                     Load: 57.15 / 56.31 / 44.39

                                     ----- Output from /proc/pressure/memory -----

                                     some avg10=2.47 avg60=1.20 avg300=0.75 total=31395812

                                     full avg10=0.75 avg60=0.38 avg300=0.24 total=8547275

                                     ----- End output from /proc/pressure/memory -----

                                     ----- Output from /proc/pressure/cpu -----

                                     some avg10=20.22 avg60=14.22 avg300=11.23 total=231017004

                                     full avg10=0.00 avg60=0.00 avg300=0.00 total=0

                                     ----- End output from /proc/pressure/cpu -----

                                     ----- Output from /proc/pressure/io -----

                                     some avg10=4.25 avg60=1.94 avg300=0.96 total=60851010

                                     full avg10=0.12 avg60=0.05 avg300=0.01 total=6551264

                                     ----- End output from /proc/pressure/io -----

                                     

                                     CPU usage from 2ms to 5621ms later (2025-09-01 12:02:01.899 to 2025-09-01 12:02:07.518):

                                       84% 670/media.swcodec: 82% user + 1.9% kernel / faults: 97 minor 1 major

                                       54% 6999/AppName: 40% user + 13% kernel / faults: 3441 minor 119 major

                                       39% 564/surfaceflinger: 27% user + 11% kernel / faults: 1388 minor

                                       34% 1091/system_server: 18% user + 15% kernel / faults: 3417 minor 121 major

                                       13% 759/sdmc_bin: 2.8% user + 11% kernel / faults: 214 minor

                                       10% 1589/com.android.systemui: 7.5% user + 2.5% kernel / faults: 2374 minor 129 major

                                       9.6% 1759/com.mediatek.tv.service: 6.9% user + 2.6% kernel / faults: 1771 minor 20 major

                                       9.7% 2190/com.google.android.inputmethod.latin: 7.3% user + 2.3% kernel / faults: 1601 minor 69 major

                                       9.5% 6994/kworker/0:2-events: 0% user + 9.5% kernel

                                       7.1% 497/android.hardware.graphics.composer@2.4-service: 2.5% user + 4.6% kernel / faults: 3 minor

                                     83% TOTAL: 54% user + 24% kernel + 0.1% iowait + 2.7% irq + 0.7% softirq

                                     CPU usage from 137ms to 972ms later (2025-09-01 12:02:02.034 to 2025-09-01 12:02:02.869):

                                       77% 670/media.swcodec: 75% user + 1.5% kernel / faults: 31 minor

                                         77% 6770/oid.vp8.encoder: 75% user + 1.5% kernel

                                       123% 6999/AppName: 91% user + 31% kernel / faults: 181 minor

                                         82% 7005/Signal Catcher: 63% user + 18% kernel

                                         25% 7020/RenderThread: 18% user + 6.3% kernel

                                       50% 1091/system_server: 10% user + 40% kernel / faults: 369 minor 10 major

                                         47% 7220/AnrAuxiliaryTas: 8.7% user + 38% kernel

                                       40% 564/surfaceflinger: 24% user + 15% kernel / faults: 181 minor

                                         30% 564/surfaceflinger: 18% user + 11% kernel

                                         2.8% 607/binder:564_2: 1.4% user + 1.4% kernel

                                         2.8% 609/RenderEngine: 0% user + 2.8% kernel

                                         1.4% 923/TimerDispatch: 1.4% user + 0% kernel

                                         1.4% 935/surfaceflinger: 0% user + 1.4% kernel

                                       10% 759/sdmc_bin: 3.1% user + 7.8% kernel / faults: 18 minor

                                         7.8% 836/sdmc_bin: 3.1% user + 4.6% kernel

                                         3.1% 837/sdmc_bin: 1.5% user + 1.5% kernel

                                       7.3% 58/kswapd0: 0% user + 7.3% kernel

                                       6.9% 497/android.hardware.graphics.composer@2.4-service: 1.3% user + 5.5% kernel / faults: 3 minor

                                         4.1% 497/composer@2.4-se: 2.7% user + 1.3% kernel

                                         2.7% 906/graphic_mi_work: 0% user + 2.7% kernel

                                         1.3% 912/hwcVsyncThread: 0% user + 1.3% kernel

                                       9.4% 6994/kworker/0:2-OP1_IRQ_WQ: 0% user + 9.4% kernel

                                       2.5% 190/logd: 0% user + 2.5% kernel / faults: 2 minor

                                         1.2% 207/logd.klogd: 0% user + 1.2% kernel

                                       2.9% 600/adbd: 0% user + 2.9% kernel / faults: 1 minor

                                         1.4% 808/UsbFfs-worker: 0% user + 1.4% kernel

                                       3% 659/media.codec: 1.5% user + 1.5% kernel / faults: 4 minor

                                         1.5% 2499/HwBinder:659_5: 1.5% user + 0% kernel

                                       3% 671/ld-linux.so.3: 1.5% user + 1.5% kernel

                                         1.5% 861/cpu_audio: 1.5% user + 0% kernel

                                       1.2% 14/ksoftirqd/0: 0% user + 1.2% kernel

                                       1.2% 15/rcu_preempt: 0% user + 1.2% kernel

                                       1.2% 32/ksoftirqd/2: 0% user + 1.2% kernel

                                       1.3% 352/kworker/u8:4-adb: 0% user + 1.3% kernel

                                       1.3% 400/irq/207-scaler: 0% user + 1.3% kerne