7#ifndef _ZOOM_VIDEO_SDK_VIDEO_HELPER_INTERFACE_H_
8#define _ZOOM_VIDEO_SDK_VIDEO_HELPER_INTERFACE_H_
62#if !defined (__linux) || defined ANDROID
79#if !defined (__linux) || defined CMM_ANDROID
91#if !defined (__linux) || defined ANDROID
168#if !defined (__linux) || defined CMM_ANDROID
287#if !defined (__linux) || defined ANDROID
SDK defined vector interface.
Virtual background item interface.
virtual const zchar_t * getImageName()=0
Get current item image name.
virtual ~IVirtualBackgroundItem()
virtual const zchar_t * getImageFilePath()=0
Get current item image file path.
virtual VirtualBackgroundDataType getType()=0
Get current item background type.
virtual bool canVirtualBackgroundBeDeleted()=0
Determine whether the virtual background can be deleted.
virtual bool isSelectedDevice()=0
virtual const zchar_t * getDeviceName()=0
virtual const zchar_t * getDeviceId()=0
virtual bool isRunningAsMultiCamera()=0
Determine whether the camera is running as multiple stream video.
virtual bool isSelectedAsMultiCamera()=0
Determine whether the camera is selected as multiple stream video.
virtual ~IZoomVideoSDKCameraDevice()
Video/share raw data sink interface.
Video/share raw data pipe interface.
An interface to control video and manage cameras during a video session.
virtual bool isDeviceSupportAlphaChannelMode()=0
Determines whether the device hardware capabilities are capable of supporting video alpha mode.
virtual bool unmuteMultiStreamVideo(const zchar_t *cameraDeviceID)=0
Turn on multiple stream video.
virtual ZoomVideoSDKErrors stopVideoCanvasPreview(void *handle)=0
Stops the preview video.
virtual IVirtualBackgroundItem * getSelectedVirtualBackgroundItem()=0
Get virtual background item which is been selected.
virtual bool enableOriginalAspectRatio(bool bEnabled)=0
This function is used to set the aspect ratio of the video sent out.
virtual ZoomVideoSDKErrors turnCameraDown(unsigned int range=50, const zchar_t *pStrDeviceID=nullptr)=0
Tilt the camera down.
virtual bool canEnableAlphaChannelMode()=0
Determine if alpha channel mode can be enabled.
virtual ZoomVideoSDKErrors turnCameraLeft(unsigned int range=50, const zchar_t *pStrDeviceID=nullptr)=0
Pan the camera to the left.
virtual ZoomVideoSDKErrors turnCameraRight(unsigned int range=50, const zchar_t *pStrDeviceID=nullptr)=0
Pan the camera to the right.
virtual ZoomVideoSDKErrors mirrorMyVideo(bool bEnabled)=0
virtual IVideoSDKVector< IZoomVideoSDKCameraDevice * > * getCameraList()=0
Returns a collection of camera devices available to share the video as an object of type IZoomVideoSD...
virtual ZoomVideoSDKErrors addVirtualBackgroundItem(const zchar_t *image_path, IVirtualBackgroundItem **imageItem)=0
Add virtual background object.
virtual bool rotateMyVideo(VideoRotation rotation)=0
Call this method to rotate the video when the device is rotated.
virtual ZoomVideoSDKErrors startVideo()=0
Call this method to start sending local video data from the camera.
virtual ZoomVideoSDKErrors spotLightVideo(IZoomVideoSDKUser *pUser)=0
Call this method to spotlight user's video.
virtual IVideoSDKVector< IVirtualBackgroundItem * > * getVirtualBackgroundItemList()=0
Get virtual background item list. This function need to call first before create virtual background o...
virtual bool selectCamera(const zchar_t *cameraDeviceID)=0
Switch to the camera passed in as cameraDeviceID.
virtual ZoomVideoSDKErrors setVideoQualityPreference(ZoomVideoSDKVideoPreferenceSetting &preference_setting)=0
Automatically adjust user's video solution and frame-rate.
virtual ZoomVideoSDKErrors stopVideo()=0
Call this method to stop sending local video data from the camera.
virtual ZoomVideoSDKErrors enableAlphaChannelMode(bool enable)=0
Enable or disable video alpha channel mode.
virtual ZoomVideoSDKErrors removeVirtualBackgroundItem(IVirtualBackgroundItem *imageItem)=0
Remove virtual background object.
virtual bool isMyVideoMirrored()=0
virtual bool switchCamera()=0
Switch to the next available camera.
virtual ZoomVideoSDKErrors zoomCameraIn(unsigned int range=50, const zchar_t *pStrDeviceID=nullptr)=0
Zoom the camera in.
virtual bool muteMultiStreamVideo(const zchar_t *cameraDeviceID)=0
Turn off multiple stream video.
virtual const zchar_t * getDeviceIDByMyPipe(IZoomVideoSDKRawDataPipe *pPipe)=0
Get the device ID associated with my multi-camera pipe.
virtual ~IZoomVideoSDKVideoHelper()
virtual ZoomVideoSDKErrors stopVideoPreview(IZoomVideoSDKRawDataPipeDelegate *listener)=0
UnSubscribe preview video raw data with the subscribed callback.
virtual ZoomVideoSDKErrors turnCameraUp(unsigned int range=50, const zchar_t *pStrDeviceID=nullptr)=0
Tilt the camera up.
virtual ZoomVideoSDKErrors zoomCameraOut(unsigned int range=50, const zchar_t *pStrDeviceID=nullptr)=0
Zoom the camera out.
virtual IVideoSDKVector< IZoomVideoSDKUser * > * getSpotlightedVideoUserList()=0
Call this method to get spotlighted video user list.
virtual uint32_t getNumberOfCameras()=0
Returns number of cameras available to share the video.
virtual ZoomVideoSDKErrors unSpotLightVideo(IZoomVideoSDKUser *pUser)=0
Call this method to unSpotlight user's video.
virtual ZoomVideoSDKErrors startVideoCanvasPreview(void *handle, const zchar_t *cameraDeviceID=nullptr)=0
Starts the preview video.
virtual bool enableMultiStreamVideo(const zchar_t *cameraDeviceID, const zchar_t *customDeviceName=nullptr)=0
Enable multiple stream video if you have multiple cameras and other participants can see multiple vid...
virtual ZoomVideoSDKErrors startVideoPreview(IZoomVideoSDKRawDataPipeDelegate *listener, const zchar_t *cameraDeviceID=nullptr)=0
Subscribe preview video raw data with a callback.
virtual ZoomVideoSDKErrors setVirtualBackgroundItem(IVirtualBackgroundItem *imageItem)=0
Set virtual background item.
virtual bool isAlphaChannelModeEnabled()=0
Determine if alpha channel mode is enabled.
virtual bool disableMultiStreamVideo(const zchar_t *cameraDeviceID)=0
Disable multiple stream video.
virtual ZoomVideoSDKErrors canControlCamera(bool &bCan, const zchar_t *pStrDeviceID=nullptr)=0
Check whether the current user has permission to control the camera.
virtual ZoomVideoSDKErrors unSpotlightAllVideos()=0
Call this method to set all user's video unSpotlight.
virtual bool isOriginalAspectRatioEnabled()=0
Determine whether current aspect ratio is the original aspect ratio of video.
tagVideoPreferenceSetting()
uint32_t minimum_frame_rate
0 for the default value,minimum_frame_rate should be less than maximum_frame_rate,...
uint32_t maximum_frame_rate
0 for the default value,maximum_frame_rate should be less and equal than 30, range: from 0 to 30....
ZoomVideoSDKVideoPreferenceMode mode
0: Balance mode; 1: Smoothness mode; 2: Sharpness mode; 3: Custom mode
Zoom Video SDK Common Definition File.
#define BEGIN_ZOOM_VIDEO_SDK_NAMESPACE
#define END_ZOOM_VIDEO_SDK_NAMESPACE
ZoomVideoSDKErrors
Enumeration of common Zoom Video SDK errors.
struct tagVideoPreferenceSetting ZoomVideoSDKVideoPreferenceSetting
ZoomVideoSDKMultiCameraStreamStatus
@ ZoomVideoSDKMultiCameraStreamStatus_JoinFail
Current user only. Sent when the current user fails to use multiple cameras in the session.
@ ZoomVideoSDKMultiCameraStreamStatus_VideoOn
Broadcast to all users. Sent when a multiple camera is started.
@ ZoomVideoSDKMultiCameraStreamStatus_Joined
Broadcast to all users. Sent when a new camera has been successfully added to the session as the mult...
@ ZoomVideoSDKMultiCameraStreamStatus_VideoOff
Broadcast to all users. Sent when a multiple camera is stopped.
@ ZoomVideoSDKMultiCameraStreamStatus_Left
Broadcast to all users. Sent after a camera that is being used as the multiple cameras leaves the ses...
@ ZoomVideoSDKMultiCameraStreamStatus_JoinStart
Current user only. Sent when the current user attempts to use multiple cameras in the session.
ZoomVideoSDKVideoPreferenceMode
@ ZoomVideoSDKVideoPreferenceMode_Smoothness
Smoothness mode.
@ ZoomVideoSDKVideoPreferenceMode_Custom
Custom mode.
@ ZoomVideoSDKVideoPreferenceMode_Sharpness
Sharpness mode.
@ ZoomVideoSDKVideoPreferenceMode_Balance
Balance mode.
VirtualBackgroundDataType
@ VirtualBackgroundDataType_NONE
@ VirtualBackgroundDataType_BLUR
@ VirtualBackgroundDataType_IMAGE