selectedCamera, returns the current camera being used to capture video
Allows observing changes to properties. Provide the property which you are interested in and a callback. Whenever the property value changes, you will be notified via the callback.
Usage:
sdk.videoDeviceService.observe("availableCameras", function() {
console.info("availableCameras changed to : ", sdk.videoDeviceService.availableCameras)
});
The name of the property to observe for changes.
on change event for the property.
Select camera device to capture video from. The list of cameras to choose from can be found by calling availableCameras
Generated using TypeDoc
availableCameras, returns the list of cameras available