ScreenAudioParameters

The audio configuration for the shared screen stream.

struct ScreenAudioParameters {
    int sampleRate = 16000;
    int channels = 2;
    int captureSignalVolume = 100;
};

Only available where captureAudio is true.

Attributes

sampleRate
Audio sample rate (Hz). The default value is 16000.
channels
The number of audio channels. The default value is 2, which means stereo.
captureSignalVolume
The volume of the captured system audio. The value range is [0, 100]. The default value is 100.