onEncryptionError property
Callback when an error occurs with built-in encryption.
After calling enableEncryption to enable encryption, if an encryption or decryption error occurs on the sender or receiver side, the SDK triggers this callback.
connectionConnection information. See RtcConnection.errorTypeError type. See EncryptionErrorType.
Implementation
final void Function(RtcConnection connection, EncryptionErrorType errorType)?
onEncryptionError;