ZegoLiveRoom
zego-api-audio-encrypt-decrypt.h
Go to the documentation of this file.
1#ifndef zego_api_audio_encrypt_decrypt_h
2#define zego_api_audio_encrypt_decrypt_h
3#include "zego-api-defines.h"
4
5namespace ZEGO
6{
7 namespace AUDIO_ENCRYPT_DECRYPT
8 {
10 {
11 public:
22 virtual void OnAudioEncryptDecryptCallback(const char* pszStreamID, const unsigned char *pInData, int inDataLen, unsigned char *pOutData, int* pOutDataLen, int maxOutBufLen) = 0;
24 };
25
33
41 }
42}
43#endif
Definition: zego-api-audio-encrypt-decrypt.h:10
virtual ~IZegoAudioEncryptDecryptCallback()
Definition: zego-api-audio-encrypt-decrypt.h:23
virtual void OnAudioEncryptDecryptCallback(const char *pszStreamID, const unsigned char *pInData, int inDataLen, unsigned char *pOutData, int *pOutDataLen, int maxOutBufLen)=0
ZEGOAVKIT_API void SetAudioEncryptDecryptCallback(IZegoAudioEncryptDecryptCallback *pCB)
ZEGOAVKIT_API void EnableAudioEncryptDecrypt(bool enable)
Definition: AVDefines.h:17
#define ZEGOAVKIT_API
Definition: zego-api-defines.h:56