# 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).
## 枚举值 [#枚举值]
(0):本地视频处于初始状态。
(1):本地视频采集设备启动成功。当调用 [startScreenCaptureByWindowId](/zh-CN/api-reference/rtc/cpp-all-platforms/video/screencapture#api_irtcengine_startscreencapturebywindowid) 共享最大化窗口时,SDK 也会报告此状态。
(2):首帧视频编码成功。
(3):启动本地视频失败。