Inherits RefCountInterface.
◆ ~INGVideoDeviceManager()
◆ registerObserver()
Registers an IVideoDeviceManagerObserver object.
You need to implement the IAudioDeviceManageObserver class in this method, and register callbacks according to your scenario.
- Parameters
-
- Returns
- 0: Success.
- < 0: Failure.
◆ unregisterObserver()
◆ getNumberOfDevices()
| virtual int getNumberOfDevices |
( |
| ) |
|
|
pure virtual |
Gets the number of video devices.
- Returns
- The number of video devices.
◆ getNumberOfCapabilities()
| virtual int getNumberOfCapabilities |
( |
const char * |
deviceId | ) |
|
|
pure virtual |
Gets the number of capabilities.
- Parameters
-
- Returns
- The number of capabilities.
◆ getCapability()
| virtual int getCapability |
( |
const char * |
deviceId, |
|
|
const uint32_t |
capabilityIndex, |
|
|
VideoFormat & |
capability |
|
) |
| |
|
pure virtual |
Gets the capability of a specified device.
- Parameters
-
| deviceId | The device ID. |
| capabilityIndex | The capability index of the device. |
| capability | The reference to the video capability. See VideoFormat. |
- Returns
- The capability of the device.
◆ getDeviceInfo()
Gets the device information.
- Parameters
-
| index | The index of the device. |
| deviceInfo | The device information. |
- Returns
- 0: Success.
- < 0: Failure.
◆ AddRef()
| virtual void AddRef |
( |
| ) |
const |
|
pure virtualinherited |
◆ Release()
◆ HasOneRef()
| virtual bool HasOneRef |
( |
| ) |
const |
|
pure virtualinherited |