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.

Speaker

Speaker/Earpiece

This method is available in RCRTCEngine to switch between speaker and earpiece for audio playback.

Future<int> enableSpeaker(bool enable);
  • Parameters:

    ParameterTypeDescription
    enablebooleantrue for speaker; false for earpiece
  • Example:

    engine.enableSpeaker(true);