Create a Webcam.
{Object} - options to use for initialising the camera. This is the same constraints object as used by standard MediaDevices API.
OptionalvideoElementSelector: string
selector to obtain the HTML video element to render the webcam feed. If a falsy value (e.g. null or undefined), a video element will be created.
The raw HTMLVideoElement.
Free up the resources associated with the Webcam.
Emit an event.
the event to emit.
Remove an event handler.
the event to remove a handler from.
the event handler function to remove.
Add an event handler.
the event to handle.
the event handler function.
Class to setup the webcam.