ZegoLiveRoom
Classes | Functions
ZEGO::AUDIO_ENCRYPT_DECRYPT Namespace Reference

Classes

class  IZegoAudioEncryptDecryptCallback
 

Functions

ZEGOAVKIT_API void EnableAudioEncryptDecrypt (bool enable)
 
ZEGOAVKIT_API void SetAudioEncryptDecryptCallback (IZegoAudioEncryptDecryptCallback *pCB)
 

Function Documentation

◆ EnableAudioEncryptDecrypt()

ZEGOAVKIT_API void ZEGO::AUDIO_ENCRYPT_DECRYPT::EnableAudioEncryptDecrypt ( bool  enable)

音频加密、解密开关

Parameters
enable:开启,false关闭 @discussion 必须在init sdk之前调用

◆ SetAudioEncryptDecryptCallback()

ZEGOAVKIT_API void ZEGO::AUDIO_ENCRYPT_DECRYPT::SetAudioEncryptDecryptCallback ( IZegoAudioEncryptDecryptCallback pCB)

设置回调,接收音频数据进行加密或者解密后,再回传给sdk

Parameters
音频加密、解密回调
discussion成功推流、拉流后才会有回调