Video SDK for Windows API Reference
Loading...
Searching...
No Matches
zoom_video_sdk_def.h
Go to the documentation of this file.
1
6#ifndef _ZOOM_VIDEO_SDK_DEF_H_
7#define _ZOOM_VIDEO_SDK_DEF_H_
8#include <iostream>
11
12#define ZOOM_VIDEO_SDK_NAMESPACE ZOOMVIDEOSDK
13#define BEGIN_ZOOM_VIDEO_SDK_NAMESPACE namespace ZOOM_VIDEO_SDK_NAMESPACE {
14#define END_ZOOM_VIDEO_SDK_NAMESPACE };
15#define USING_ZOOM_VIDEO_SDK_NAMESPACE using namespace ZOOM_VIDEO_SDK_NAMESPACE;
16
21typedef enum
22{
129
220
222
239
256
271
286
305
316
327
339
368
385
398
413
418{
426#if defined __MACOS__
427 bool disableKeychainAccess;
428#endif
429
431 {
432 speakerTestFilePath = nullptr;
433 wrapperType = 0;
435#if defined __MACOS__
436 disableKeychainAccess = false;
437#endif
438 }
439};
440
483
503{
508 bool connect;
513 bool mute;
526 {
527 connect = true;
528 mute = false;
529 isMyVoiceInMix = true;
531 }
532};
533
538
623
640
657
676
700
705{
706public:
712 virtual time_t getTimeStamp() = 0;
717 virtual bool isSendToAll() = 0;
722 virtual uint32_t getFileSize() = 0;
727 virtual const zchar_t* getFileName() = 0;
733
734};
755
781
792
803
818
830
839
849
861
880
906
922#endif
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.
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 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 ZoomVideoSDKErrors cancelSend()=0
Cancel the ongoing file transfer.
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.
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.
ZoomVideoSDKPreferVideoResolution preferVideoResolution
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.
ZoomVideoSDKRawDataMemoryMode shareRawDataMemoryMode
ZoomVideoSDKRawDataMemoryMode audioRawDataMemoryMode
ZoomVideoSDKExtendParams extendParam
ZoomVideoSDKRawDataMemoryMode videoRawDataMemoryMode
Represents the parameters needed to start a Zoom Video SDK live stream.
ZoomVideoSDKLiveStreamParams()
Default constructor for ZoomVideoSDKLiveStreamParams. Initializes all pointers to nullptr and creates...
ZoomVideoSDKLiveStreamSetting setting
Represents the settings for a Zoom Video SDK live stream.
ZoomVideoSDKLiveStreamCloseCaption closeCaption
ZoomVideoSDKLiveStreamLayout layout
ZoomVideoSDKLiveStreamSetting()
Default constructor for ZoomVideoSDKLiveStreamSetting. Initializes with speaker view layout and burnt...
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.
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.
ZOOM SDK Raw Data Common Definition File.
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.
@ Recording_Stop
@ Recording_Start
@ Recording_DiskFull
@ Recording_Connecting
@ Recording_Pause
ZoomVideoSDKDataType
Enumeration of the data type for network quality monitoring.
@ ZoomVideoSDKDataType_Share
@ ZoomVideoSDKDataType_Unknown
@ ZoomVideoSDKDataType_Audio
@ ZoomVideoSDKDataType_Video
ZoomVideoSDKAudioChannel
Enumeration of audio channel type in Zoom Video SDK.
@ ZoomVideoSDKAudioChannel_Mono
@ ZoomVideoSDKAudioChannel_Stereo
ZoomVideoSDKWhiteboardStatus
Enumeration of the status of whiteboard sharing.
@ WhiteboardStatus_Stopped
@ WhiteboardStatus_Started
#define BEGIN_ZOOM_VIDEO_SDK_NAMESPACE
ZoomVideoSDKRawDataType
Enumeration of raw data types in Zoom Video SDK.
@ RAW_DATA_TYPE_SHARE
@ RAW_DATA_TYPE_VIDEO
ZoomVideoSDKLiveStreamCloseCaption
Enumeration of Zoom Video SDK live stream close caption options.
@ ZoomVideoSDKLiveStreamCloseCaption_BurntIn
@ ZoomVideoSDKLiveStreamCloseCaption_OFF
@ ZoomVideoSDKLiveStreamCloseCaption_Embedded
ZoomVideoSDKShareCapturePauseReason
Enumeration of reasons why screen sharing capture is paused in the Zoom Video SDK.
@ ZoomVideoSDKShare_Capture_Pause_None
@ ZoomVideoSDKShare_Capture_Pause_WindowCovered
@ ZoomVideoSDKShare_Capture_Pause_WindowMinimized
@ ZoomVideoSDKShare_Capture_Pause_WindowMoving
ZoomVideoSDKPreferVideoResolution
Enumeration of preferred video resolution in Zoom Video SDK.
@ ZoomVideoSDKPreferVideoResolution_None
@ ZoomVideoSDKPreferVideoResolution_720P
@ ZoomVideoSDKPreferVideoResolution_360P
@ ZoomVideoSDKPreferVideoResolution_1080P
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
ZoomVideoSDKLiveStreamLayout
Enumeration of Zoom Video SDK live stream layout types.
@ ZoomVideoSDKLiveStreamLayout_GalleryView
@ ZoomVideoSDKLiveStreamLayout_SpeakerView
ZoomVideoSDKSessionLeaveReason
Enumeration of session leave reasons in Zoom Video SDK.
@ ZoomVideoSDKSessionLeaveReason_Unknown
@ ZoomVideoSDKSessionLeaveReason_BySelf
@ ZoomVideoSDKSessionLeaveReason_KickByHost
@ ZoomVideoSDKSessionLeaveReason_NetworkError
@ ZoomVideoSDKSessionLeaveReason_EndByHost
ZoomVideoSDKExportFormat
Enumeration of supported export formats for content, like whiteboard.
@ EXPORT_FORMAT_PDF
FileTransferStatus
Enumeration representing the status of a file transfer.
@ FileTransferState_TransferFailed
@ FileTransferState_ReadyToTransfer
@ FileTransferState_Transfering
@ FileTransferState_TransferDone
@ FileTransferState_None
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_SHARE_PREPROCESSING_IS_STOPPED
@ ZoomVideoSDKErrors_RAWDATA_AUDIO_MODULE_NOT_READY
@ ZoomVideoSDKErrors_Session_Account_FreeCreditExceeded
@ 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_RAWDATA_INVALID_SHARE_PREPROCESSING_DATA_OBJECT
@ 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_Session_Share_Conflict_With_Whiteboard
@ ZoomVideoSDKErrors_Recording_Is_Connecting
@ 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_Bluetooth_SCO_Connection_Failed
@ 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
ZoomVideoSDKShareSetting
Enumeration of Zoom Video SDK share setting types.
@ ZoomVideoSDKShareSetting_LockedShare
@ ZoomVideoSDKShareSetting_SingleShare
@ ZoomVideoSDKShareSetting_MultiShare
@ ZoomVideoSDKShareSetting_None
unsigned int uint32_t
wchar_t zchar_t