继承自 Serializable .
Public 成员函数 | |
String | toString () |
boolean | equals (Object o) |
int | hashCode () |
Public 属性 | |
int | sampleRate = 16000 |
int | channels = 2 |
int | captureSignalVolume = 100 |
boolean | allowCaptureCurrentApp = false |
共享的屏幕流的音频配置。
仅适用于 captureAudio
为 true
的场景。
int io.agora.rtc.ScreenCaptureParameters.AudioCaptureParameters.sampleRate = 16000 |
音频采样率 (Hz)。默认值为 16000。
int io.agora.rtc.ScreenCaptureParameters.AudioCaptureParameters.channels = 2 |
声道数。默认值为 2,表示双声道。
int io.agora.rtc.ScreenCaptureParameters.AudioCaptureParameters.captureSignalVolume = 100 |
采集的系统音量。取值范围为 [0,100]。默认值为 100。
boolean io.agora.rtc.ScreenCaptureParameters.AudioCaptureParameters.allowCaptureCurrentApp = false |
是否采集当前应用播放的声音:
true
:采集。false
:(默认)不采集。