RCRTCAudioSetup.create constructor
RCRTCAudioSetup.create({
- RCRTCAudioCodecType codec = RCRTCAudioCodecType.opus,
- RCRTCAudioSource audioSource = RCRTCAudioSource.voice_communication,
- int audioSampleRate = 16000,
- bool enableMicrophone = true,
- bool enableStereo = true,
- 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,
});