Package io.agora.rtc2

Class ScreenCaptureParameters.AudioCaptureParameters

java.lang.Object
io.agora.rtc2.ScreenCaptureParameters.AudioCaptureParameters
Enclosing class:
ScreenCaptureParameters

public static class ScreenCaptureParameters.AudioCaptureParameters extends Object
Since:
v3.7.0
  • Field Details

    • sampleRate

      public int sampleRate
      Audio sample rate (Hz). The default value is 16000.
    • channels

      public int channels
      The number of audio channels. The default value is 2, which means stereo.
    • captureSignalVolume

      public int captureSignalVolume
      The volume of the captured system audio. The value range is [0, 100]. The default value is 100.
    • allowCaptureCurrentApp

      public boolean allowCaptureCurrentApp
      Whether to capture audio from the current app: - `true`: (Default) Caputre audio from the current app. - `false`Do not capture the audio from the current app:
  • Constructor Details

    • AudioCaptureParameters

      public AudioCaptureParameters()
  • Method Details

    • getSampleRate

      public int getSampleRate()
    • getChannels

      public int getChannels()
    • getCaptureSignalVolume

      public int getCaptureSignalVolume()
    • toString

      public String toString()
      Overrides:
      toString in class Object