Inherits RefCountInterface.
◆ ~IScreenCapturer2()
◆ setScreenCaptureDimensions()
virtual int setScreenCaptureDimensions |
( |
const VideoDimensions & |
dimensions | ) |
|
|
pure virtual |
Screen capture's resolution.
- Parameters
-
dimensions | The reference to the captured screen's resolution in terms of width × height.
- If you set
width or height as 0, the dimensions will be the screen's width × height.
|
- Returns
- 0: Success.
- < 0: Failure.
- ERR_INVALID_ARGUMENT if data is null.
◆ updateScreenCaptureRegion()
virtual int updateScreenCaptureRegion |
( |
const Rectangle & |
regionRect | ) |
|
|
pure virtual |
Updates the screen capture region.
- Parameters
-
regionRect | The reference to the relative location of the region to the screen or window. See Rectangle.
- If the specified region overruns the screen or window, the screen capturer captures only the region within it.
- If you set
width or height as 0, the SDK shares the whole screen or window.
|
- Returns
- 0: Success.
- < 0: Failure.
- No screen or window is being shared.
◆ setFrameRate()
virtual int setFrameRate |
( |
int |
rate | ) |
|
|
pure virtual |
Set frame rate of the screen capture source
- Parameters
-
◆ setAudioRecordConfig()
virtual int setAudioRecordConfig |
( |
int |
channels, |
|
|
int |
sampleRate |
|
) |
| |
|
pure virtual |
Set channels and sample rate of screen audio capturing
- Parameters
-
channels | channels of system audio capture |
sampleRate | sample rate of system audio capture |
- Returns
-
◆ setAudioVolume()
virtual int setAudioVolume |
( |
uint32_t |
volume | ) |
|
|
pure virtual |
Set volume of screen audio capturing
- Parameters
-
volume | volume of system audio capture |
- Returns
-
◆ AddRef()
virtual void AddRef |
( |
| ) |
const |
|
pure virtualinherited |
◆ Release()
◆ HasOneRef()
virtual bool HasOneRef |
( |
| ) |
const |
|
pure virtualinherited |