onEncryptionError property
Reports the built-in encryption errors.
When encryption is enabled by calling enableEncryption, the SDK triggers this callback if an error occurs in encryption or decryption on the sender or the receiver side.
connectionThe connection information. See RtcConnection.errorTypeDetails about the error type. See EncryptionErrorType.
Implementation
final void Function(RtcConnection connection, EncryptionErrorType errorType)?
onEncryptionError;