Video SDK v3.7.1 API Reference for Unity
|
Properties | |
ENCRYPTION_MODE | encryptionMode [get, set] |
string | encryptionKey [get, set] |
byte[] | encryptionKdfSalt [get, set] |
Configurations of built-in encryption schemas.
agora_gaming_rtc.EncryptionConfig.EncryptionConfig | ( | ) |
|
getset |
Encryption mode. The default encryption mode is AES_128_XTS
. See ENCRYPTION_MODE.
|
getset |
Encryption key in string type.
NULL
, you cannot use the built-in encryption, and the SDK returns ERR_INVALID_ARGUMENT (-2)
.
|
getset |
The salt with the length of 32 bytes. Agora recommends using OpenSSL to generate the salt on your server.
AES_128_GCM2
or AES_256_GCM2
. In this case, ensure that this parameter is not 0
.