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.
Encryption key in string type with unlimited length. Agora recommends using a 32-byte key.
Note
If you do not set an encryption key or set it as null, you cannot use the built-in encryption, and the SDK returns InvalidArgument(2)
.
Encryption mode. The default encryption mode is AES128GCM2
.
See EncryptionMode
.
Generated using TypeDoc
Definition of
EncryptionConfig
.v3.1.2.