# ENCRYPTION_ERROR_TYPE (/zh-CN/api-reference/rtc/cpp-all-platforms/enum-encryptionerrortype)
> For AI agents: see the complete documentation index at [llms.txt](/llms.txt).
## 枚举值 [#枚举值]
(0):内部错误。
(1):媒体流解密失败。请确保接收端和发送端使用相同的加密模式和密钥。
(2):媒体流加密失败。
(3):数据流解密失败。请确保接收端和发送端使用相同的加密模式和密钥。
(4):数据流加密失败。