7#ifndef _ZOOM_VIDEO_SDK_DEF_H_
8#define _ZOOM_VIDEO_SDK_DEF_H_
13#define ZOOM_VIDEO_SDK_NAMESPACE ZOOMVIDEOSDK
14#define BEGIN_ZOOM_VIDEO_SDK_NAMESPACE namespace ZOOM_VIDEO_SDK_NAMESPACE {
15#define END_ZOOM_VIDEO_SDK_NAMESPACE };
16#define USING_ZOOM_VIDEO_SDK_NAMESPACE using namespace ZOOM_VIDEO_SDK_NAMESPACE;
Retrieving basic information about a file transfer in the Zoom Video SDK.
virtual bool isSendToAll()=0
Check whether the file was sent to all participants.
virtual ZoomVideoSDKFileStatus getStatus()=0
Get the current transfer status of the file.
virtual uint32_t getFileSize()=0
Get the size of the file in bytes.
virtual time_t getTimeStamp()=0
Get the timestamp when the file transfer started.
virtual const zchar_t * getFileName()=0
Get the name of the file being transferred.
virtual ~IZoomVideoSDKFileTransferBaseInfo()
Interface for managing a file that is being received in the Zoom Video SDK. Inherits from IZoomVideoS...
virtual IZoomVideoSDKUser * getSender()=0
Get the sender of the file transfer.
virtual ZoomVideoSDKErrors startReceive(const zchar_t *path)=0
Start receiving the file and specify the download path.
virtual ~IZoomVideoSDKReceiveFile()
virtual ZoomVideoSDKErrors cancelReceive()=0
Cancel the ongoing file receive operation.
Interface for managing a file that is being sent in the Zoom Video SDK. Inherits from IZoomVideoSDKFi...
virtual IZoomVideoSDKUser * getReceiver()=0
Get the receiver of the file transfer.
virtual ~IZoomVideoSDKSendFile()
virtual ZoomVideoSDKErrors cancelSend()=0
Cancel the ongoing file transfer.
Video source sink interface.
Video source preprocessor sink interface.
An interface that handles a virtual audio microphone.
An interface that handles the virtual audio speaker.
The progress information of an ongoing file transfer.
uint32_t completeSize
The total number of bytes transferred so far.
uint32_t bitPerSecond
The current transfer speed in bits per second (bps).
uint32_t ratio
Transfer completion ratio.
Aduio option used by ZoomVideoSDKSessionContext.
ZoomVideoSDKAudioOption()
bool mute
Whether to mute the audio initially.
bool isMyVoiceInMix
Whether my voice should be included in the mixed audio raw data.
bool connect
Whether to connect the local audio when joining a session.
bool autoAdjustSpeakerVolume
Whether to automatically adjust the speaker volume. If true, the SDK will automatically raise the vol...
The extended parameters for Zoom Video SDK initialization.
ZoomVideoSDKExtendParams()
const zchar_t * speakerTestFilePath
The status and progress of a file transfer in Zoom Video SDK.
FileTransferProgress transProgress
Detailed progress information of the file transfer.
FileTransferStatus transStatus
Current status of the file transfer.
The initialization parameters for Zoom Video SDK.
bool enableIndirectRawdata
ZoomVideoSDKRawDataMemoryMode shareRawDataMemoryMode
ZoomVideoSDKRawDataMemoryMode audioRawDataMemoryMode
const zchar_t * logFilePrefix
ZoomVideoSDKExtendParams extendParam
ZoomVideoSDKRawDataMemoryMode videoRawDataMemoryMode
Configuration context for joining a Zoom Video SDK session.
ZoomVideoSDKAudioOption audioOption
Audio configuration options.
ZoomVideoSDKVideoOption videoOption
Video configuration options.
IZoomVideoSDKVideoSourcePreProcessor * preProcessor
Pointer to the camera data preprocessor object.
const zchar_t * token
The JWT token used for session authentication.
IZoomVideoSDKVirtualAudioMic * virtualAudioMic
Pointer to the virtual microphone object. Use this to provide custom audio input.
ZoomVideoSDKSessionContext()
const zchar_t * sessionPassword
The password for the session.
IZoomVideoSDKVirtualAudioSpeaker * virtualAudioSpeaker
Pointer to the virtual speaker object. Use this to receive and process audio output.
const zchar_t * userName
The display name of the user in the session.
IZoomVideoSDKVideoSource * externalVideoSource
Pointer to the virtual camera source object. Use this to provide your own external video stream.
unsigned int sessionIdleTimeoutMins
The duration (in minutes) before an idle session times out. If set to 0, the session will never timeo...
bool autoLoadMutliStream
Whether to automatically load multiple video streams when joining a session.
const zchar_t * sessionName
The name of the session to join.
Video option used by ZoomVideoSDKSessionContext.
bool localVideoOn
Indicates whether the local video should be turned on by default.
ZoomVideoSDKVideoOption()
ZoomVideoSDKLiveStreamStatus
Enumeration of live streaming status in Zoom Video SDK.
@ ZoomVideoSDKLiveStreamStatus_None
@ ZoomVideoSDKLiveStreamStatus_InProgress
@ ZoomVideoSDKLiveStreamStatus_StartFailed
@ ZoomVideoSDKLiveStreamStatus_Ended
@ ZoomVideoSDKLiveStreamStatus_FailedTimeout
@ ZoomVideoSDKLiveStreamStatus_Connecting
FrameDataFormat
Enumeration of specifying the format of frame data.
@ FrameDataFormat_I420_FULL
I420 format with full (PC) range. Provides full-range color values, typically used in computer graphi...
@ FrameDataFormat_I420_LIMITED
I420 format with limited (TV) range. Commonly used in video broadcasting and streaming.
RecordingStatus
Enumeration representing the status of recording.
ZoomVideoSDKAudioChannel
Enumeration of audio channel type in Zoom Video SDK.
@ ZoomVideoSDKAudioChannel_Mono
@ ZoomVideoSDKAudioChannel_Stereo
#define BEGIN_ZOOM_VIDEO_SDK_NAMESPACE
ZoomVideoSDKRawDataType
Enumeration of raw data types in Zoom Video SDK.
ZoomVideoSDK_TESTMIC_STATUS
Enumeration of the microphone test status in Zoom Video SDK.
@ ZoomVideoSDKMic_CanPlay
@ ZoomVideoSDKMic_Recording
@ ZoomVideoSDKMic_CanTest
ZoomVideoSDKRawDataMemoryMode
Enumeration of raw data memory mode in Zoom Video SDK.
@ ZoomVideoSDKRawDataMemoryModeStack
@ ZoomVideoSDKRawDataMemoryModeHeap
ZoomVideoSDKCameraControlRequestType
Enumeration of camera control request types in Zoom Video SDK.
@ ZoomVideoSDKCameraControlRequestType_RequestControl
@ ZoomVideoSDKCameraControlRequestType_GiveUpControl
ZoomVideoSDKSessionLeaveReason
Enumeration of session leave reasons in Zoom Video SDK.
@ ZoomVideoSDKSessionLeaveReason_Unknown
@ ZoomVideoSDKSessionLeaveReason_BySelf
@ ZoomVideoSDKSessionLeaveReason_KickByHost
@ ZoomVideoSDKSessionLeaveReason_NetworkError
@ ZoomVideoSDKSessionLeaveReason_EndByHost
FileTransferStatus
Enumeration representing the status of a file transfer.
@ FileTransferState_TransferFailed
@ FileTransferState_ReadyToTransfer
@ FileTransferState_Transfering
@ FileTransferState_TransferDone
ZoomVideoSDKShareType
Enumeration of sharing types in Zoom Video SDK.
@ ZoomVideoSDKShareType_Camera
@ ZoomVideoSDKShareType_Normal
@ ZoomVideoSDKShareType_PureAudio
@ ZoomVideoSDKShareType_None
#define END_ZOOM_VIDEO_SDK_NAMESPACE
ZoomVideoSDKSessionType
Enumeration of Zoom Video SDK session types.
@ ZoomVideoSDKSessionType_MainSession
@ ZoomVideoSDKSessionType_SubSession
ZoomVideoSDKShareStatus
Enumeration of sharing status in Zoom Video SDK.
@ ZoomVideoSDKShareStatus_None
@ ZoomVideoSDKShareStatus_Stop
@ ZoomVideoSDKShareStatus_Resume
@ ZoomVideoSDKShareStatus_Pause
@ ZoomVideoSDKShareStatus_Start
ZoomVideoSDKRemoteControlStatus
Enumeration of remote control status in Zoom Video SDK.
@ ZoomVideoSDKRemoteControlStatus_ControlledBy
@ ZoomVideoSDKRemoteControlStatus_ControlRevoked
@ ZoomVideoSDKRemoteControlStatus_NotControlled
@ ZoomVideoSDKRemoteControlStatus_GotControl
@ ZoomVideoSDKRemoteControlStatus_ControlStop
@ ZoomVideoSDKRemoteControlStatus_LostControl
@ ZoomVideoSDKRemoteControlStatus_ControlStart
@ ZoomVideoSDKRemoteControlStatus_None
@ ZoomVideoSDKRemoteControlStatus_GiveControlTo
@ ZoomVideoSDKRemoteControlStatus_CanRequestControl
@ ZoomVideoSDKRemoteControlStatus_RequestDenied
ZoomVideoSDKErrors
Enumeration of common Zoom Video SDK errors.
@ ZoomVideoSDKErrors_JoinSession_Token_UserIdentity_TooLong
@ ZoomVideoSDKErrors_No_Recording_In_Process
@ ZoomVideoSDKErrors_RAWDATA_VIDEO_MODULE_ERROR
@ ZoomVideoSDKErrors_Fail_Assign_User_Privilege
@ ZoomVideoSDKErrors_RAWDATA_VIRTUAL_MIC_IS_TERMINATE
@ ZoomVideoSDKErrors_Session_Password_Wrong
@ ZoomVideoSDKErrors_Session_Account_FreeMinutesExceeded
@ ZoomVideoSDKErrors_Session_Remote_DB_Error
@ ZoomVideoSDKErrors_JoinSession_Token_NoSessionName
@ ZoomVideoSDKErrors_RAWDATA_NO_VIDEO_DATA
@ ZoomVideoSDKErrors_Session_Need_Password
@ ZoomVideoSDKErrors_SessionModule_Not_Found
@ ZoomVideoSDKErrors_Spotlight_ToMuchSpotlightedUsers
@ ZoomVideoSDKErrors_Session_Audio_Error
@ ZoomVideoSDKErrors_RAWDATA_INTERNAL_ERROR
@ ZoomVideoSDKErrors_RAWDATA_NO_SHARE_DATA
@ ZoomVideoSDKErrors_Session_Not_Started
@ ZoomVideoSDKErrors_RAWDATA_INIT_DEVICE
@ ZoomVideoSDKErrors_Spotlight_UserCannotBeSpotlighted
@ ZoomVideoSDKErrors_Spotlight_UserWithoutVideo
@ ZoomVideoSDKErrors_Session_Video_Device_Error
@ ZoomVideoSDKErrors_Filetransfer_UnknowError
@ ZoomVideoSDKErrors_Session_Share_Module_Not_Ready
@ ZoomVideoSDKErrors_RAWDATA_AUDIO_MODULE_NOT_READY
@ ZoomVideoSDKErrors_SessionService_Invalid
@ ZoomVideoSDKErrors_Auth_Wrong_Key_or_Secret
@ ZoomVideoSDKErrors_Spotlight_NotEnoughUsers
@ ZoomVideoSDKErrors_Session_Share_You_Are_Not_Sharing
@ ZoomVideoSDKErrors_Session_Join_Failed
@ ZoomVideoSDKErrors_Session_Reconnecting
@ ZoomVideoSDKErrors_Load_Module_Error
@ ZoomVideoSDKErrors_Call_Too_Frequently
@ ZoomVideoSDKErrors_JoinSession_Invalid_SessionName
@ ZoomVideoSDKErrors_RAWDATA_PREPROCESS_RAWDATA_ERROR
@ ZoomVideoSDKErrors_Session_Client_Incompatible
@ ZoomVideoSDKErrors_RAWDATA_VIDEO_MODULE_NOT_READY
@ ZoomVideoSDKErrors_RAWDATA_NO_DEVICE_RUNNING
@ ZoomVideoSDKErrors_Wrong_Usage
@ ZoomVideoSDKErrors_Internal_Error
@ ZoomVideoSDKErrors_Filetransfer_FileSizelimited
@ ZoomVideoSDKErrors_Session_Audio_No_Microphone
@ ZoomVideoSDKErrors_JoinSession_SessionName_TooLong
@ ZoomVideoSDKErrors_RAWDATA_NO_AUDIO_DATA
@ ZoomVideoSDKErrors_JoinSession_Invalid_SessionToken
@ ZoomVideoSDKErrors_Session_No_Rights
@ ZoomVideoSDKErrors_Dont_Support_Feature
@ ZoomVideoSDKErrors_JoinSession_Invalid_Password
@ ZoomVideoSDKErrors_Session_Phone_Error
@ ZoomVideoSDKErrors_JoinSession_NoUserName
@ ZoomVideoSDKErrors_Session_Share_Internal_Error
@ ZoomVideoSDKErrors_JoinSession_Token_MismatchedSessionName
@ ZoomVideoSDKErrors_Memory_Error
@ ZoomVideoSDKErrors_Session_Dont_Support_SessionType
@ ZoomVideoSDKErrors_JoinSession_NoSessionToken
@ ZoomVideoSDKErrors_UnLoad_Module_Error
@ ZoomVideoSDKErrors_Session_Share_Camera_Video_Not_Start
@ ZoomVideoSDKErrors_RAWDATA_VIRTUAL_DEVICE
@ ZoomVideoSDKErrors_Filetransfer_FileTypeBlocked
@ ZoomVideoSDKErrors_Session_Disconnecting
@ ZoomVideoSDKErrors_RAWDATA_NOT_IN_Session
@ ZoomVideoSDKErrors_Success
@ ZoomVideoSDKErrors_RAWDATA_SEND_TOO_FREQUENTLY
@ ZoomVideoSDKErrors_Session_Share_Camera_Conflict_With_Video_Effects
@ ZoomVideoSDKErrors_RAWDATA_SEND_TOO_MUCH_DATA_IN_SINGLE_TIME
@ ZoomVideoSDKErrors_Uninitialize
@ ZoomVideoSDKErrors_Auth_DoesNot_Support_SDK
@ ZoomVideoSDKErrors_Session_Video_Error
@ ZoomVideoSDKErrors_Session_Invalid_Param
@ ZoomVideoSDKErrors_Unknown
@ ZoomVideoSDKErrors_Session_Live_Stream_Error
@ ZoomVideoSDKErrors_No_Impl
@ ZoomVideoSDKErrors_RAWDATA_SHARE_MODULE_NOT_READY
@ ZoomVideoSDKErrors_Remove_Folder_Fail
@ ZoomVideoSDKErrors_RAWDATA_CANNOT_CHANGE_VIRTUAL_DEVICE_IN_PREVIEW
@ ZoomVideoSDKErrors_Session_Share_Type_Is_Not_Support
@ ZoomVideoSDKErrors_Auth_Disable_SDK
@ ZoomVideoSDKErrors_Dont_Support_Multi_Stream_Video_User
@ ZoomVideoSDKErrors_Spotlight_UserNotSpotlighted
@ ZoomVideoSDKErrors_Invalid_Parameter
@ ZoomVideoSDKErrors_JoinSession_Token_RoleType_EmptyOrWrong
@ ZoomVideoSDKErrors_Set_Virtual_Background_Fail
@ ZoomVideoSDKErrors_Auth_Error
@ ZoomVideoSDKErrors_RAWDATA_SHARE_MODULE_ERROR
@ ZoomVideoSDKErrors_Session_Audio_No_Speaker
@ ZoomVideoSDKErrors_RAWDATA_AUDIO_MODULE_ERROR
@ ZoomVideoSDKErrors_Auth_Empty_Key_or_Secret
@ ZoomVideoSDKErrors_Session_Share_Error
@ ZoomVideoSDKErrors_JoinSession_NoSessionName
@ ZoomVideoSDKErrors_RAWDATA_VIDEO_DEVICE_ERROR
@ ZoomVideoSDKErrors_Session_Already_In_Progress
@ ZoomVideoSDKErrors_RAWDATA_NO_LICENSE
@ ZoomVideoSDKErrors_RAWDATA_MALLOC_FAILED