You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Describe the bug
When having 1 internal camera and one external camera, the expected results vary. I can't choose what camera to use.
While I could choose the camera I wanted on Twilio, because I only had to give its ID
alternating with CameraDirection.cameraFront and CameraDirection.cameraRear
Expected behavior
Despite any third-party Android (probably iOS too) camera library can give us the current cameras we can use with its ID (as shown in the next screenshot, where IDs are "0" and "1"
With Twilio (for calling), or any third party camera library to preview, I could say the deviceId I wanted and that was granted.
Current Behaviour
When using CameraDirection.cameraFront: as expected, it's working with my front internal camera
When using CameraDirection.cameraRear: no camera, so there's no way I can choose my external webcam
Context
I've plugged the same external camera that Agora can't get from one tablet, into another tablet that has 0 internal cameras, and I was able to use it.
Solution
We should be able to get the available video devices on Android, get their ID, and be able to choose the camera ID we want the source from.
The text was updated successfully, but these errors were encountered:
Describe the bug
When having 1 internal camera and one external camera, the expected results vary. I can't choose what camera to use.
While I could choose the camera I wanted on Twilio, because I only had to give its ID
To Reproduce
I'm doing:
alternating with
CameraDirection.cameraFront
andCameraDirection.cameraRear
Expected behavior
Despite any third-party Android (probably iOS too) camera library can give us the current cameras we can use with its
ID
(as shown in the next screenshot, where IDs are"0"
and"1"
With Twilio (for calling), or any third party camera library to preview, I could say the
deviceId
I wanted and that was granted.Current Behaviour
CameraDirection.cameraFront
: as expected, it's working with my front internal cameraCameraDirection.cameraRear
: no camera, so there's no way I can choose my external webcamContext
I've plugged the same external camera that Agora can't get from one tablet, into another tablet that has 0 internal cameras, and I was able to use it.
Solution
We should be able to get the available video devices on Android, get their ID, and be able to choose the camera ID we want the source from.
The text was updated successfully, but these errors were encountered: