join() must be called before calling this method
Call this method to share the participant's camera so that others participants can see the user.
If there are multiple cameras in the participant's system and you want to share a specific one, for e.g if the user is on a laptop and has a built-in camera as well as an external webcam.
Then you can use
listVideoInputDevices() to fetch the list of all cameras and then pass the
deviceId of the camera to the
chooseVideoInputDevice(deviceId) method and then call the
chooseVideoInputDevice(deviceId) can be called anytime during the meeting to switch the camera.
Browser will request user to allow camera
Updated 3 months ago