For joining a video call, FIrst I’m waiting for
join() API to complete and after that I’m also waiting for
video decode to be set to
even then also on starting video call sometimes I get error on
mediaStream.switchCamera API as Cannot find cameraDeviceId in camera devices list.
because even at that moment
mediaStream.getCameraList() returns an empty array.
Can you please suggest what conditions should we check before joining a video call?
as nothing related to it is mentioned in docs as well.