#include <IAgoraStreamingKit.h>
|
virtual int | getCount ()=0 |
|
virtual int | getDeviceInfo (int index, char deviceName[MAX_DEVICE_ID_LENGTH], char deviceId[MAX_DEVICE_ID_LENGTH])=0 |
|
virtual void | release ()=0 |
|
◆ getCount()
virtual int agora::streaming::IVideoDeviceCollection::getCount |
( |
| ) |
|
|
pure virtual |
Gets the total number of the indexed video capture devices in the system.
- Returns
- The total number of the indexed video capture devices.
◆ getDeviceInfo()
virtual int agora::streaming::IVideoDeviceCollection::getDeviceInfo |
( |
int |
index, |
|
|
char |
deviceName[MAX_DEVICE_ID_LENGTH], |
|
|
char |
deviceId[MAX_DEVICE_ID_LENGTH] |
|
) |
| |
|
pure virtual |
Gets the specified information of an indexed video capture device.
- Parameters
-
index | An input parameter that specifies the device. It is a specified index and must be smaller than the return value of getCount(). |
deviceName | An output parameter that indicates the device name. |
deviceId | An output parameter that indicates the device ID. |
- Returns
- 0: Success.
- < 0: Failure.
◆ release()
virtual void agora::streaming::IVideoDeviceCollection::release |
( |
| ) |
|
|
pure virtual |