Video Device Info
Represents information about a video (camera) device.
This is a specialized subclass of DeviceInfo with the Kind automatically set to video.
Obtain video device information using getVideoDevices.
Code Example:
Set<VideoDeviceInfo> cameras = VideoSDK.getVideoDevices();
for (VideoDeviceInfo cam : cameras) {
if (cam.getFacingMode() == FacingMode.front) {
VideoSDK.setSelectedVideoDevice(cam);
break;
}
}
Content copied to clipboard
See also
VideoSDK.getSelectedVideoDevice()