#include <IAgoraStreamingKit.h>
◆ getNumberOfRecordingDevices()
virtual int agora::streaming::IAudioDeviceCollection::getNumberOfRecordingDevices |
( |
| ) |
|
|
pure virtual |
Gets the total number of recording devices.
Call enumerateRecordingDevices() first, and then call this method to return the number of the audio recording devices.
- Returns
- The number of the audio recording devices.
◆ getRecordingDeviceInfo()
virtual int agora::streaming::IAudioDeviceCollection::getRecordingDeviceInfo |
( |
int |
index, |
|
|
char |
deviceName[MAX_DEVICE_ID_LENGTH], |
|
|
char |
deviceId[MAX_DEVICE_ID_LENGTH] |
|
) |
| |
|
pure virtual |
Gets the specified information about an audio recording device.
- Parameters
-
index | An input parameter that specifies the device. |
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::IAudioDeviceCollection::release |
( |
| ) |
|
|
pure virtual |