IAliEngineVideoDeviceManager class

更新时间: 2026-01-17 20:14:41

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

MethodDescriptionSupported earliest version
GetCameraListQueries cameras. V2.1
GetCurrentCameraNameQueries the name of the camera that is in use. V2.1
GetCurrentCameraIDQueries the ID of the camera that is in use. V2.1
SetCurrentCameraNameSpecifies the name of a camera. V2.1
SetCurrentCameraIDSpecifies the ID of a camera. V2.1

Details of methods

  • GetCameraList: queries cameras.
    AliEngineDeviceInfoList* GetCameraList();
    Return value description

    Returns a list of cameras.

  • GetCurrentCameraName: queries the name of the camera that is in use.
    String GetCurrentCameraName();
    Return value description

    Returns the name of the camera that is in use.

  • GetCurrentCameraID: queries the ID of the camera that is in use.
    String GetCurrentCameraID();
    Return value description

    Returns the ID of the camera that is in use.

  • SetCurrentCameraName: specifies the name of a camera.
    int SetCurrentCameraName(const char* cameraName);
    Parameters
    ParameterTypeDescription
    cameraNameconst char*The name of the camera.
    Return value description

    If 0 is returned, the call is successful. Otherwise, the call fails.

  • SetCurrentCameraID: specifies the ID of a camera.
    int SetCurrentCameraID(const char* cameraID);
    Parameters
    ParameterTypeDescription
    cameraIDconst char*The ID of the camera.
    Return value description

    If 0 is returned, the call is successful. Otherwise, the call fails.

上一篇: IAliEngineAudioDeviceManager class 下一篇: IAliEngineMediaEngine class
阿里云首页 音视频通信 相关技术圈