ScreenAudioParameters
Used to set the audio parameters of the screen sharing stream.
struct ScreenAudioParameters {
int sampleRate;
int channels;
int captureSignalVolume;
#if defined(__APPLE__) && !TARGET_OS_IOS
bool excludeCurrentProcessAudio = true;
#else
#endif
};
Takes effect only when captureAudio is true.
Properties
- sampleRate
- Audio sample rate in Hz.
- channels
- Number of audio channels. Default is 2, indicating stereo.
- captureSignalVolume
- Captured system audio volume. Value range is [0, 100], default is 100.