getLocalVideoStream()

Get the video stream of the selected video input device

This method returns the video stream of the default video input device or the selected video input device.

The video input device can be selected by calling the chooseVideoInputDevice(deviceId) method and passing the deviceId obtained from the listVideoInputDevices() method.

If no video input device is selected then the operating system's default video input device is returned.

var stream = await meeting.getLocalVideoStream();

If there are currently no video input devices then an exception occurs.

📘

Browser will request user to allow camera or screen