# MEDIA_DEVICE_STATE_TYPE (/zh-CN/api-reference/rtc/cpp-all-platforms/enum-mediadevicestatetype)
> For AI agents: see the complete documentation index at [llms.txt](/llms.txt).
## 枚举值 [#枚举值]
(0):设备处于空闲状态,可供使用。
(1):设备正在被使用。
(2):设备已被禁用,无法使用。
(3):设备已连接。
(4):未检测到设备。
(8):设备已断开连接。