IAliEngineVideoDeviceManager class
This topic describes the methods of the IAliEngineVideoDeviceManager class provided by Real-Time Communication (RTC) SDK for Windows.
SDK reference
For more information about the IAliEngineVideoDeviceManager class, see AliRTCSdk::IAliEngineVideoDeviceManager.
List of methods
Methods for video device management
| Method | Description | Supported earliest version |
| GetCameraList | Queries cameras. | V2.1 |
| GetCurrentCameraName | Queries the name of the camera that is in use. | V2.1 |
| GetCurrentCameraID | Queries the ID of the camera that is in use. | V2.1 |
| SetCurrentCameraName | Specifies the name of a camera. | V2.1 |
| SetCurrentCameraID | Specifies the ID of a camera. | V2.1 |
Details of methods
- GetCameraList: queries cameras.
Return value descriptionAliEngineDeviceInfoList* GetCameraList();Returns a list of cameras.
- GetCurrentCameraName: queries the name of the camera that is in use.
Return value descriptionString GetCurrentCameraName();Returns the name of the camera that is in use.
- GetCurrentCameraID: queries the ID of the camera that is in use.
Return value descriptionString GetCurrentCameraID();Returns the ID of the camera that is in use.
- SetCurrentCameraName: specifies the name of a camera.
Parametersint SetCurrentCameraName(const char* cameraName);
Return value descriptionParameter Type Description cameraName const char* The name of the camera. If 0 is returned, the call is successful. Otherwise, the call fails.
- SetCurrentCameraID: specifies the ID of a camera.
Parametersint SetCurrentCameraID(const char* cameraID);
Return value descriptionParameter Type Description cameraID const char* The ID of the camera. If 0 is returned, the call is successful. Otherwise, the call fails.