|
NERTC macOS/Windows SDK V5.10.1
|
#include <nertc_engine_defines.h>
Public 成员函数 | |
| virtual unsigned int | getCount ()=0 |
| virtual NERtcScreenCaptureSourceInfo | getSourceInfo (unsigned int index)=0 |
| virtual void | release ()=0 |
The IScreenCaptureSourceList class.
|
pure virtual |
Gets the number of shareable windows and screens.
|
pure virtual |
Gets information about the specified shareable window or screen.
After you get IScreenCaptureSourceList, you can pass in the index value of the specified shareable window or screen to get information about that window or screen from ScreenCaptureSourceInfo.
| index | The index of the specified shareable window or screen. The value range is [0,getCount()). |
|
pure virtual |
Releases IScreenCaptureSourceList.
After you get the list of shareable windows and screens, to avoid memory leaks, call release to release IScreenCaptureSourceList instead of deleting IScreenCaptureSourceList directly.