audioRoute_t Constants Reference

Declared in RtccData.h

audioRoute_t

Used to set the audio out route you want the incoming audio to take.

Definition
typedef NS_ENUM(NSInteger, audioRoute_t ) {
   route_default,
   route_loudspeaker,
   route_headsetOrLoudspeaker,
};
Constants
route_default

This is the default builtin speaker, or the headset if any is connected. [RtccCall audioRoute] returning this value means the SDK is using the builtin ear speaker to play the sound.

Declared In RtccData.h.

route_loudspeaker

Set the route to the builtin loudspeaker, overriding any connected headset. [RtccCall audioRoute] returning this value means the SDK is using the built in loudpseaker to play the sound.

Declared In RtccData.h.

route_headsetOrLoudspeaker

Using this value make the sound go through the connected headset or fallbacking to loudspeaker. [RtccCall audioRoute] returning this value means the SDK is using the headset to play the sound.

Declared In RtccData.h.

Declared In

RtccData.h