onEncryptData method
@detail callback
@brief Custom encryption.
Encrypts audio & video frame data before transmission using the custom encryption method set.
Encryption of the original audio and video frames is currently not available.
@param data Unencrypted data.
@return Encrypted data
Implementation
FutureOr<ArrayBuffer> onEncryptData(ArrayBuffer data) async {
throw UnimplementedError();
}