AgoraAudioOutputRouting Constants Reference
Declared in | AgoraEnumerates.h |
---|
AgoraAudioOutputRouting
当前的音频路由。在 didAudioRouteChanged 回调中报告。
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: 使用默认的音频路由
Declared In
AgoraEnumerates.h
. AgoraAudioOutputRoutingHeadset
-
0: 音频路由为带麦克风的耳机
Declared In
AgoraEnumerates.h
. AgoraAudioOutputRoutingEarpiece
-
1: 音频路由为听筒
Declared In
AgoraEnumerates.h
. AgoraAudioOutputRoutingHeadsetNoMic
-
2: 音频路由为不带麦克风的耳机
Declared In
AgoraEnumerates.h
. AgoraAudioOutputRoutingSpeakerphone
-
3: 音频路由为设备自带的扬声器
Declared In
AgoraEnumerates.h
. AgoraAudioOutputRoutingLoudspeaker
-
4: 音频路由为外接的扬声器
Declared In
AgoraEnumerates.h
. AgoraAudioOutputRoutingHeadsetBluetooth
-
5: 音频路由为蓝牙耳机
Declared In
AgoraEnumerates.h
. AgoraAudioOutputRoutingUsb
-
6: 音频路由为 USB 外围设备(仅适用于 macOS)
Declared In
AgoraEnumerates.h
. AgoraAudioOutputRoutingHdmi
-
7: 音频路由为 HDMI 外围设备(仅适用于 macOS)
Declared In
AgoraEnumerates.h
. AgoraAudioOutputRoutingDisplayPort
-
8: 音频路由为 DisplayPort 外围设备(仅适用于 macOS)
Declared In
AgoraEnumerates.h
. AgoraAudioOutputRoutingAirPlay
-
9: 音频路由为 Apple AirPlay
Declared In
AgoraEnumerates.h
.
Declared In
AgoraEnumerates.h