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.
If you do not set an encryption key or set it as null, you cannot use the built-in encryption, and the SDK returns
Encryption mode. The default encryption mode is