Video SDK for Windows API Reference
Loading...
Searching...
No Matches
zoom_video_sdk_video_helper_interface.h
Go to the documentation of this file.
1
6#ifndef _ZOOM_VIDEO_SDK_VIDEO_HELPER_INTERFACE_H_
7#define _ZOOM_VIDEO_SDK_VIDEO_HELPER_INTERFACE_H_
11
20
36
57
73
74#if !defined (__linux) || defined ANDROID
81#endif
82
88{
89public:
91 virtual const zchar_t* getDeviceId() = 0;
92 virtual const zchar_t* getDeviceName() = 0;
93 virtual bool isSelectedDevice() = 0;
94#if !defined (__linux) || defined CMM_ANDROID
99 virtual bool isSelectedAsMultiCamera() = 0;
100
105 virtual bool isRunningAsMultiCamera() = 0;
106#endif
107};
108
109
110#if !defined (__linux) || defined ANDROID
111
117{
118public:
123 virtual const zchar_t* getImageFilePath() = 0;
124
129 virtual const zchar_t* getImageName() = 0;
130
136
142
144};
145#endif
146
152{
153public:
160
167
174
180
186
192
197 virtual bool rotateMyVideo(VideoRotation rotation) = 0;
198
203 virtual bool switchCamera() = 0;
204
209 virtual bool selectCamera(const zchar_t* cameraDeviceID) = 0;
210
211#if !defined (__linux) || defined CMM_ANDROID
219 virtual bool enableMultiStreamVideo(const zchar_t* cameraDeviceID, const zchar_t* customDeviceName = nullptr) = 0;
220
226 virtual bool disableMultiStreamVideo(const zchar_t* cameraDeviceID) = 0;
227
233 virtual bool muteMultiStreamVideo(const zchar_t* cameraDeviceID) = 0;
234
240 virtual bool unmuteMultiStreamVideo(const zchar_t* cameraDeviceID) = 0;
241
248#endif
249
255
261
268 virtual ZoomVideoSDKErrors canControlCamera(bool& bCan, const zchar_t* pStrDeviceID = nullptr) = 0;
269
276 virtual ZoomVideoSDKErrors turnCameraLeft(unsigned int range = 50, const zchar_t * pStrDeviceID = nullptr) = 0;
277
284 virtual ZoomVideoSDKErrors turnCameraRight(unsigned int range = 50, const zchar_t* pStrDeviceID = nullptr) = 0;
285
292 virtual ZoomVideoSDKErrors turnCameraUp(unsigned int range = 50, const zchar_t* pStrDeviceID = nullptr) = 0;
293
300 virtual ZoomVideoSDKErrors turnCameraDown(unsigned int range = 50, const zchar_t* pStrDeviceID = nullptr) = 0;
301
308 virtual ZoomVideoSDKErrors zoomCameraIn(unsigned int range = 50, const zchar_t* pStrDeviceID = nullptr) = 0;
309
316 virtual ZoomVideoSDKErrors zoomCameraOut(unsigned int range = 50, const zchar_t* pStrDeviceID = nullptr) = 0;
317
324
333
340
347 virtual ZoomVideoSDKErrors startVideoCanvasPreview(void* handle, const zchar_t* cameraDeviceID = nullptr) = 0;
348
355
356#if !defined (__linux) || defined ANDROID
364
371
378
385
391#endif
392
398
405 virtual bool enableOriginalAspectRatio(bool bEnabled) = 0;
406
412 virtual ZoomVideoSDKErrors mirrorMyVideo(bool bEnabled) = 0;
413
418 virtual bool isMyVideoMirrored() = 0;
419
424 virtual bool canEnableAlphaChannelMode() = 0;
425
432
437 virtual bool isAlphaChannelModeEnabled() = 0;
438
444};
446#endif
SDK defined vector interface.
Virtual background item interface.
virtual const zchar_t * getImageName()=0
Get current item image name.
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.
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
Mirrors the current user's video. Valid only for canvas.
virtual IVideoSDKVector< IZoomVideoSDKCameraDevice * > * getCameraList()=0
Returns a collection of camera devices available to share the video as an object of type IZoomVideoSD...
virtual ZoomVideoSDKErrors startVideoPreview(IZoomVideoSDKRawDataPipeDelegate *listener, const zchar_t *cameraDeviceID=nullptr, ZoomVideoSDKResolution resolution=ZoomVideoSDKResolution_1080P)=0
Subscribe to preview video raw data with a callback.
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.
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
Determine whether mirror my video is enabled.
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 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 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.
When setting custom modes, the maximum and minimum frame rates are provided by the developer....
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.
unsigned int uint32_t
wchar_t zchar_t
struct tagVideoPreferenceSetting ZoomVideoSDKVideoPreferenceSetting
When setting custom modes, the maximum and minimum frame rates are provided by the developer....
@ ZoomVideoSDKMultiCameraStreamStatus_JoinStart
ZoomVideoSDKVideoPreferenceMode
video preference mode types Here are more detailed structural descriptions.