enableEncryption abstract method

Future<int> enableEncryption(
  1. bool enable,
  2. NERtcEncryptionConfig config
)

开启或关闭媒体流加密。

Implementation

Future<int> enableEncryption(bool enable, NERtcEncryptionConfig config);