Agora C++ API Reference for All Platforms

Public Member Functions | Public Attributes | List of all members
agora::rtc::ScreenAudioParameters Struct Reference

## Public Member Functions
| ScreenAudioParameters ()
| ScreenAudioParameters ()

## Public Attributes
int | sampleRate
int | channels
int | captureSignalVolume
bool | excludeCurrentProcessAudio = true

## Detailed Description

The audio configuration for the shared screen stream.

## Constructor & Destructor Documentation

## ◆ ScreenAudioParameters() [1/2]

agora::rtc::ScreenAudioParameters::ScreenAudioParameters | ( |  | ) |
| inline

## ◆ ScreenAudioParameters() [2/2]

agora::rtc::ScreenAudioParameters::ScreenAudioParameters | ( |  | ) |
| inline

## Member Data Documentation

## ◆ sampleRate

int agora::rtc::ScreenAudioParameters::sampleRate

The audio sample rate (Hz). The default value is `48000`.

## ◆ channels

int agora::rtc::ScreenAudioParameters::channels

The number of audio channels. The default value is `2`, indicating dual channels.

## ◆ captureSignalVolume

int agora::rtc::ScreenAudioParameters::captureSignalVolume

The volume of the captured system audio. The value range is [0,100]. The default value is `100`.

## ◆ excludeCurrentProcessAudio

bool agora::rtc::ScreenAudioParameters::excludeCurrentProcessAudio = true