Occurs when the camera device list updated
Occurs when the current camera device changed
Clear away side effect.
Enumerates the video devices.
The video device list
Gets the video-capture device list that is in use.
The media device info or fails otherwise
Removes the specified listener from the listener array for the event named eventName.
Adds a one-time listener function for the event named eventName. The next time eventName is triggered, this listener is removed and then invoked.
Prompts the user for permission to use a media input which produces a MediaStream with tracks containing the requested types of media.
Sets the current video device by the device id.
The unique id of the video device
0 means success or fails otherwise
Starts the camera test.
The video media stream or fails otherwise
0 means success or fails otherwise
The VideoDeviceManager class is a managing class to manage the video devices and test them out.