#include <IAgoraRtcEngine.h>
Public Member Functions | |
EncryptionConfig () | |
Public Attributes | |
ENCRYPTION_MODE | encryptionMode |
const char * | encryptionKey |
uint8_t | encryptionKdfSalt [32] |
Configurations of built-in encryption schemas.
|
inline |
ENCRYPTION_MODE agora::rtc::EncryptionConfig::encryptionMode |
Encryption mode. The default encryption mode is AES_128_GCM2
. See ENCRYPTION_MODE.
const char* agora::rtc::EncryptionConfig::encryptionKey |
Encryption key in string type with unlimited length. Agora recommends using a 32-byte key.
uint8_t agora::rtc::EncryptionConfig::encryptionKdfSalt[32] |
The salt with the length of 32 bytes. Agora recommends using OpenSSL to generate the salt on your server. For details, see Media Stream Encryption.
AES_128_GCM2
or AES_256_GCM2
. In this case, ensure that this parameter is not 0
.