Intel® Collaboration Suite for WebRTC  version 4.3.1
Open WebRTC Toolkit (OWT) Client SDK for Windows*
deviceutils.h
1 // Copyright (C) <2018> Intel Corporation
2 //
3 // SPDX-License-Identifier: Apache-2.0
4 #ifndef OWT_BASE_DEVICEUTILS_H_
5 #define OWT_BASE_DEVICEUTILS_H_
6 #include <vector>
7 #include <string>
8 #include "owt/base/commontypes.h"
9 namespace owt {
10 namespace base {
11 class DeviceUtils {
12  public:
14  static std::vector<std::string> VideoCapturerIds();
21  static std::vector<Resolution> VideoCapturerSupportedResolutions(
22  const std::string& id);
24  static int GetVideoCaptureDeviceIndex(const std::string& id);
25 };
26 }
27 }
28 #endif // OWT_BASE_DEVICEUTILS_H_
static std::vector< Resolution > VideoCapturerSupportedResolutions(const std::string &id)
Definition: audioplayerinterface.h:8
static std::vector< std::string > VideoCapturerIds()
Get video capturer IDs.
Definition: deviceutils.h:11
static int GetVideoCaptureDeviceIndex(const std::string &id)
Get the camera device index by its device id.