Closed AmyL219 closed 3 years ago
At this time we recommend using a coding pattern like such:
instance = CallClient()
deviceManager = callClient.getDeviceManager()
deviceManager.addOnCamerasUpdatedListener(<devicesUpdatedListener>)
cameras = deviceManager.getCameras()
// may return 0 cameras. If 0 cameras then the camerasUpdated will be called.
We are looking into options for improving developer experience here. Closing this ticket as by-design.
Describe the bug When we try to reach the device manager's camera list after we create the callClient and device manager but before create callAgent, the camera list could be empty randomly
To Reproduce Steps to reproduce the behaviour:
deviceManager.cameras
Expected behaviour The camera list should return empty list of available camera
Screenshots
Logs cameraListEmpty.zip