Video device management method.
The interface class provides related interfaces for video device management. Gets IVideoDeviceManager interface by the IRtcEngine class. The interface class is supported on Windows and macOS only and unavailable for Android and iOS.
◆ EnumerateCaptureDevices()
Gets the list of all video capturing devices in the system.
The method returns an IDeviceCollection object that includes all Video capturing devices in the system. Enumerates capturing devices with the App through the IDeviceCollection object.
- Note
- After the method is used, the App needs to destroy the returned object.
- Returns
- Success: An IDeviceCollection object includes all Video capturing devices.
- Failure: Null.
◆ SetDevice()
abstract int nertc.IVideoDeviceManager.SetDevice |
( |
string |
deviceId | ) |
|
|
pure virtual |
Specifies the video capturing device.
- Parameters
-
- Returns
- 0: Success.
- Other values: Failure.
◆ GetDevice()
abstract int nertc.IVideoDeviceManager.GetDevice |
( |
out string |
deviceId | ) |
|
|
pure virtual |
Gets the ID of the Video capturing device that is currently used.
- Parameters
-
deviceId | The audio capture device. |
- Returns
- 0: Success.
- Other values: Failure.
The documentation for this class was generated from the following file: