# LOCAL_VIDEO_STREAM_STATE (/zh-CN/api-reference/rtc/cpp-all-platforms/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/cpp-all-platforms/video/screencapture#api_irtcengine_startscreencapturebywindowid) 共享最大化窗口时，SDK 也会报告此状态。

</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>
