AgoraAudioOutputRouting Constants Reference
| Declared in | AgoraEnumerates.h |
|---|
AgoraAudioOutputRouting
The current audio route. Reports in the didAudioRouteChanged callback.
Definition
typedef NS_ENUM(NSInteger, AgoraAudioOutputRouting ) {
AgoraAudioOutputRoutingDefault = -1,
AgoraAudioOutputRoutingHeadset = 0,
AgoraAudioOutputRoutingEarpiece = 1,
AgoraAudioOutputRoutingHeadsetNoMic = 2,
AgoraAudioOutputRoutingSpeakerphone = 3,
AgoraAudioOutputRoutingLoudspeaker = 4,
AgoraAudioOutputRoutingHeadsetBluetooth = 5,
AgoraAudioOutputRoutingUsb = 6,
AgoraAudioOutputRoutingHdmi = 7,
AgoraAudioOutputRoutingDisplayPort = 8,
AgoraAudioOutputRoutingAirPlay = 9,
};
Constants
AgoraAudioOutputRoutingDefault-
-1: Default audio route.
Declared In
AgoraEnumerates.h. AgoraAudioOutputRoutingHeadset-
0: The audio route is a headset with a microphone.
Declared In
AgoraEnumerates.h. AgoraAudioOutputRoutingEarpiece-
1: The audio route is an earpiece.
Declared In
AgoraEnumerates.h. AgoraAudioOutputRoutingHeadsetNoMic-
2: The audio route is a headset without a microphone.
Declared In
AgoraEnumerates.h. AgoraAudioOutputRoutingSpeakerphone-
3: The audio route is the speaker that comes with the device.
Declared In
AgoraEnumerates.h. AgoraAudioOutputRoutingLoudspeaker-
4: The audio route is a Bluetooth headset.
Declared In
AgoraEnumerates.h. AgoraAudioOutputRoutingHeadsetBluetooth-
5: Bluetooth headset.
Declared In
AgoraEnumerates.h. AgoraAudioOutputRoutingUsb-
6: (macOS only) The audio route is a USB peripheral device.
Declared In
AgoraEnumerates.h. AgoraAudioOutputRoutingHdmi-
7: (macOS only) The audio route is an HDMI peripheral device.
Declared In
AgoraEnumerates.h. AgoraAudioOutputRoutingDisplayPort-
8: (macOS only) The audio route is a DisplayPort peripheral device.
Declared In
AgoraEnumerates.h. AgoraAudioOutputRoutingAirPlay-
9: The audio route is Apple AirPlay.
Declared In
AgoraEnumerates.h.
Declared In
AgoraEnumerates.h