# AudioRoute (/zh-CN/api-reference/rtc/react-native/enum-audioroute)

> For AI agents: see the complete documentation index at [llms.txt](/llms.txt).

<a id="enum_audioroute__parameters"></a>

## 枚举值 [#枚举值]

<ParameterList>
<a id="routedefault"></a>
<Parameter name="RouteDefault">

-1: 使用默认的音频路由。

</Parameter>
<a id="routeheadset"></a>
<Parameter name="RouteHeadset">

0: 音频路由为带麦克风的耳机。

</Parameter>
<a id="routeearpiece"></a>
<Parameter name="RouteEarpiece">

1: 音频路由为听筒。

</Parameter>
<a id="routeheadsetnomic"></a>
<Parameter name="RouteHeadsetNoMic">

2: 音频路由为不带麦克风的耳机。

</Parameter>
<a id="routespeakerphone"></a>
<Parameter name="RouteSpeakerphone">

3: 音频路由为设备自带的扬声器。

</Parameter>
<a id="routeloudspeaker"></a>
<Parameter name="RouteLoudspeaker">

4: 音频路由为外接的扬声器。（仅适用于 iOS）

</Parameter>
<a id="routebluetoothdevicehfp"></a>
<Parameter name="RouteBluetoothDeviceHFP">

5: 音频路由为使用 HFP 协议的蓝牙设备。

</Parameter>
<a id="routebluetoothdevicea2dp"></a>
<Parameter name="RouteBluetoothDeviceA2DP">

10: 音频路由为使用 A2DP 协议的蓝牙设备。

</Parameter>
</ParameterList>
