# LOCAL_VIDEO_STREAM_STATE (/zh-CN/api-reference/rtc/unity/enum-localvideostreamstate)

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

<a id="enum_localvideostreamstate__parameters"></a>

## 枚举值 [#枚举值]

<ParameterList>
<a id="local_video_stream_state_stopped"></a>
<Parameter name="LOCAL_VIDEO_STREAM_STATE_STOPPED">

0: 本地视频默认初始状态。

</Parameter>
<a id="local_video_stream_state_capturing"></a>
<Parameter name="LOCAL_VIDEO_STREAM_STATE_CAPTURING">

1: 本地视频采集设备启动成功。调用 [StartScreenCaptureByWindowId](/zh-CN/api-reference/rtc/unity/video/screencapture#api_irtcengine_startscreencapturebywindowid) 方法共享窗口且共享窗口为最大化时，也会报告该状态。

</Parameter>
<a id="local_video_stream_state_encoding"></a>
<Parameter name="LOCAL_VIDEO_STREAM_STATE_ENCODING">

2: 本地视频首帧编码成功。

</Parameter>
<a id="local_video_stream_state_failed"></a>
<Parameter name="LOCAL_VIDEO_STREAM_STATE_FAILED">

3: 本地视频启动失败。

</Parameter>
</ParameterList>
