|
Agora Java API Reference for Android
|
The audio configuration for the shared screen stream. More...
Public Member Functions | |
| int | getSampleRate () |
| int | getChannels () |
| int | getCaptureSignalVolume () |
| String | toString () |
Public Attributes | |
| int | sampleRate = 16000 |
| int | channels = 2 |
| int | captureSignalVolume = 100 |
| boolean | allowCaptureCurrentApp = true |
The audio configuration for the shared screen stream.
Only available where captureAudio is true.
| int io.agora.rtc2.ScreenCaptureParameters.AudioCaptureParameters.sampleRate = 16000 |
Audio sample rate (Hz). The default value is 16000.
| int io.agora.rtc2.ScreenCaptureParameters.AudioCaptureParameters.channels = 2 |
The number of audio channels. The default value is 2, which means stereo.
| int io.agora.rtc2.ScreenCaptureParameters.AudioCaptureParameters.captureSignalVolume = 100 |
The volume of the captured system audio. The value range is [0, 100]. The default value is 100.
| boolean io.agora.rtc2.ScreenCaptureParameters.AudioCaptureParameters.allowCaptureCurrentApp = true |
Whether to capture audio from the current app:
true: (Default) Caputre audio from the current app.falseDo not capture the audio from the current app: options parameter when calling joinChannel(String token, String channelId, int uid, ChannelMediaOptions options) or updateChannelMediaOptions.
1.8.18