# AudioRoute (/zh-CN/api-reference/rtc/flutter/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 和 macOS）

</Parameter>
<a id="routeheadsetbluetooth"></a>
<Parameter name="routeHeadsetbluetooth">

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

</Parameter>
<a id="routeusb"></a>
<Parameter name="routeUsb">

6: 音频路由为 USB 外围设备。（仅适用于 macOS）

</Parameter>
<a id="routehdmi"></a>
<Parameter name="routeHdmi">

7: 音频路由为 HDMI 外围设备。（仅适用于 macOS）

</Parameter>
<a id="routedisplayport"></a>
<Parameter name="routeDisplayport">

8: 音频路由为 DisplayPort 外围设备。（仅适用于 macOS）

</Parameter>
<a id="routeairplay"></a>
<Parameter name="routeAirplay">

9: 音频路由为 Apple AirPlay。（仅适用于 macOS）

</Parameter>
<a id="routebluetoothspeaker"></a>
<Parameter name="routeBluetoothSpeaker">

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

</Parameter>
</ParameterList>
