RCRTCAudioSetup.create constructor

RCRTCAudioSetup.create({
  1. RCRTCAudioCodecType codec = RCRTCAudioCodecType.opus,
  2. RCRTCAudioSource audioSource = RCRTCAudioSource.voice_communication,
  3. int audioSampleRate = 16000,
  4. bool enableMicrophone = true,
  5. bool enableStereo = true,
  6. bool mixOtherAppsAudio = true,
})

Implementation

RCRTCAudioSetup.create({
  this.codec = RCRTCAudioCodecType.opus,
  this.audioSource = RCRTCAudioSource.voice_communication,
  this.audioSampleRate = 16000,
  this.enableMicrophone = true,
  this.enableStereo = true,
  this.mixOtherAppsAudio = true,
});