Agora C++ API Reference for All Platforms

Loading...
Searching...
No Matches
Public Member Functions | Public Attributes | List of all members
agora::rtc::ScreenAudioParameters Struct Reference

`#include <AgoraBase.h>`

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

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

## Detailed Description

Only available where `captureAudio` is `true`.

## 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

Audio sample rate (Hz).

## ◆ channels

int agora::rtc::ScreenAudioParameters::channels

The number of audio channels. The default value is 2, which means stereo.

## ◆ 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

@technical preview