ScreenAudioParameters

The audio configuration for the shared screen stream.

public class ScreenAudioParameters
    {
        public int sampleRate { set; get; }
        public int channels { set; get; }
        public int captureSignalVolume { set; get; }

        public ScreenAudioParameters()
        {
            sampleRate = 16000;
            channels = 2;
            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.