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 Settings

Switch Between Earpiece and Speaker

To toggle audio output devices (speaker or earpiece) during calls, use the enableSpeaker method of RCCallEngine. Pass true to enable speaker mode or false for earpiece mode. Default is false (earpiece mode).

  • Sample code:

    engine?.enableSpeaker(false);
warning

This method only takes effect after receiving the RCCallEngine.onConnect() callback.