Skip to main content

Starting March 27, 2026, RC is rebranded as Nexconn. Existing RC SDK customers can continue using this documentation. New customers should refer to the Nexconn developer documentation.

Microphone

Enable/Disable

Use the enableMicrophone method under RCRTCEngine to turn the microphone on or off.

Future<int> enableMicrophone(bool enable);
  • Sample code:

    engine.enableMicrophone(true);

Set Audio Quality and Scenario

Use the setAudioConfig method under RCRTCEngine to configure audio quality and usage scenario.

Future<int> setAudioConfig(RCRTCAudioConfig config);
  • Parameters:

    ParameterTypeDescription
    configRCRTCAudioConfigAudio settings
  • Sample code:

    RCRTCAudioConfig config = RCRTCAudioConfig.create(
    quality: RCRTCAudioQuality.music_high,
    scenario: RCRTCAudioScenario.music_classroom,
    );
    engine.setAudioConfig(config);

Adjust Volume

Use the adjustLocalVolume method under RCRTCEngine to set volume level (0-100 range).

Future<int> adjustLocalVolume(int volume)
  • Sample code:

    engine.adjustLocalVolume(100);