Intel® Collaboration Suite for WebRTC  version 4.3.1
Open WebRTC Toolkit (OWT) Client SDK for Windows*
owt::base::DeviceUtils Class Reference

Static Public Member Functions

static std::vector< std::string > VideoCapturerIds ()
 Get video capturer IDs.
 
static std::vector< ResolutionVideoCapturerSupportedResolutions (const std::string &id)
 
static int GetVideoCaptureDeviceIndex (const std::string &id)
 Get the camera device index by its device id.
 

Member Function Documentation

◆ VideoCapturerSupportedResolutions()

static std::vector<Resolution> owt::base::DeviceUtils::VideoCapturerSupportedResolutions ( const std::string &  id)
static

Get supported resolutions for a specific video capturer.

Parameters
idThe ID of specific video capturer.
Returns
Supported resolution for the specific video capturer. If the name is invalid, it returns an empty vector.