# LOCAL_AUDIO_STREAM_STATE (/zh-CN/api-reference/rtc/cpp-all-platforms/enum-localaudiostreamstate)

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

<a id="enum_localaudiostreamstate__parameters"></a>

## 枚举值 [#枚举值]

<ParameterList>
<a id="local_audio_stream_state_stopped"></a>
<Parameter name="LOCAL_AUDIO_STREAM_STATE_STOPPED">

（0）：本地音频处于初始状态。

</Parameter>
<a id="local_audio_stream_state_recording"></a>
<Parameter name="LOCAL_AUDIO_STREAM_STATE_RECORDING">

（1）：本地音频采集设备已成功启动。

</Parameter>
<a id="local_audio_stream_state_encoding"></a>
<Parameter name="LOCAL_AUDIO_STREAM_STATE_ENCODING">

（2）：首帧音频已成功编码。

</Parameter>
<a id="local_audio_stream_state_failed"></a>
<Parameter name="LOCAL_AUDIO_STREAM_STATE_FAILED">

（3）：本地音频启动失败。

</Parameter>
</ParameterList>
