# ENCRYPTION_ERROR_TYPE (/zh-CN/api-reference/rtc/csharp-windows/enum-encryptionerrortype)

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

<a id="enum_encryptionerrortype__parameters"></a>

## 枚举值 [#枚举值]

<ParameterList>
<a id="encryption_error_internal_failure"></a>
<Parameter name="ENCRYPTION_ERROR_INTERNAL_FAILURE">

0: 内部原因。

</Parameter>
<a id="encryption_error_decryption_failure"></a>
<Parameter name="ENCRYPTION_ERROR_DECRYPTION_FAILURE">

1: 媒体流解密错误。请确保接收端和发送端使用的加密模式或密钥一致。

</Parameter>
<a id="encryption_error_encryption_failure"></a>
<Parameter name="ENCRYPTION_ERROR_ENCRYPTION_FAILURE">

2: 媒体流加密错误。

</Parameter>
<a id="encryption_error_datastream_decryption_failure"></a>
<Parameter name="ENCRYPTION_ERROR_DATASTREAM_DECRYPTION_FAILURE">

3: 数据流解密错误。请确保接收端和发送端使用的加密模式或密钥一致。

</Parameter>
<a id="encryption_error_datastream_encryption_failure"></a>
<Parameter name="ENCRYPTION_ERROR_DATASTREAM_ENCRYPTION_FAILURE">

4: 数据流加密错误。

</Parameter>
</ParameterList>
