onDecryptData method

FutureOr<ArrayBuffer> onDecryptData(
  1. ArrayBuffer data
)

@detail callback @brief Custom decryption.
Decrypts custom encrypted audio & video frame data. For custom encryption, see onEncryptData{@link #IRTCEncryptionHandler#onEncryptData}. @param data Encrypted data. @return Decrypted data

Implementation

FutureOr<ArrayBuffer> onDecryptData(ArrayBuffer data) async {
  throw UnimplementedError();
}