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
5
6#ifndef _ZOOM_VIDEO_SDK_VIDEO_HELPER_INTERFACE_H_
7#define _ZOOM_VIDEO_SDK_VIDEO_HELPER_INTERFACE_H_
11
27
43
64
80
81#if !defined (__linux) || defined ANDROID
88#endif
89
95{
96public:
98 virtual const zchar_t* getDeviceId() = 0;
99 virtual const zchar_t* getDeviceName() = 0;
100 virtual bool isSelectedDevice() = 0;
101#if !defined (__linux) || defined CMM_ANDROID
106 virtual bool isSelectedAsMultiCamera() = 0;
107
112 virtual bool isRunningAsMultiCamera() = 0;
113#endif
114};
115
116
117#if !defined (__linux) || defined ANDROID
118
124{
125public:
130 virtual const zchar_t* getImageFilePath() = 0;
131
136 virtual const zchar_t* getImageName() = 0;
137
143
149
151};
152#endif
153
159{
160public:
167
174
181
187
193
199
204 virtual bool rotateMyVideo(VideoRotation rotation) = 0;
205
210 virtual bool switchCamera() = 0;
211
216 virtual bool selectCamera(const zchar_t* cameraDeviceID) = 0;
217
218#if !defined (__linux) || defined CMM_ANDROID
226 virtual bool enableMultiStreamVideo(const zchar_t* cameraDeviceID, const zchar_t* customDeviceName = nullptr) = 0;
227
233 virtual bool disableMultiStreamVideo(const zchar_t* cameraDeviceID) = 0;
234
240 virtual bool muteMultiStreamVideo(const zchar_t* cameraDeviceID) = 0;
241
247 virtual bool unmuteMultiStreamVideo(const zchar_t* cameraDeviceID) = 0;
248
255#endif
256
261 virtual uint32_t getNumberOfCameras() = 0;
262
268
275 virtual ZoomVideoSDKErrors canControlCamera(bool& bCan, const zchar_t* pStrDeviceID = nullptr) = 0;
276
283 virtual ZoomVideoSDKErrors turnCameraLeft(unsigned int range = 50, const zchar_t * pStrDeviceID = nullptr) = 0;
284
291 virtual ZoomVideoSDKErrors turnCameraRight(unsigned int range = 50, const zchar_t* pStrDeviceID = nullptr) = 0;
292
299 virtual ZoomVideoSDKErrors turnCameraUp(unsigned int range = 50, const zchar_t* pStrDeviceID = nullptr) = 0;
300
307 virtual ZoomVideoSDKErrors turnCameraDown(unsigned int range = 50, const zchar_t* pStrDeviceID = nullptr) = 0;
308
315 virtual ZoomVideoSDKErrors zoomCameraIn(unsigned int range = 50, const zchar_t* pStrDeviceID = nullptr) = 0;
316
323 virtual ZoomVideoSDKErrors zoomCameraOut(unsigned int range = 50, const zchar_t* pStrDeviceID = nullptr) = 0;
324
331
340
347
354 virtual ZoomVideoSDKErrors startVideoCanvasPreview(void* handle, const zchar_t* cameraDeviceID = nullptr) = 0;
355
362
363#if !defined (__linux) || defined ANDROID
371
378
385
392
398#endif
399
405
412 virtual bool enableOriginalAspectRatio(bool bEnabled) = 0;
413
419 virtual ZoomVideoSDKErrors mirrorMyVideo(bool bEnabled) = 0;
420
425 virtual bool isMyVideoMirrored() = 0;
426
431 virtual bool canEnableAlphaChannelMode() = 0;
432
439
444 virtual bool isAlphaChannelModeEnabled() = 0;
445
451};
453#endif
SDK-defined vector interface for managing collections of items.
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
Determines 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
Determines whether the camera is running as multiple stream video.
virtual bool isSelectedAsMultiCamera()=0
Determines 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
Determines 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
Subscribes 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 adjusts 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
Determines 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
Gets 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 vi...
virtual ZoomVideoSDKErrors setVirtualBackgroundItem(IVirtualBackgroundItem *imageItem)=0
Set virtual background item.
virtual bool isAlphaChannelModeEnabled()=0
Determines 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
Determines whether current aspect ratio is the original aspect ratio of video.
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.
Vector container interface.
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.
VideoRotation
Enumeration of video rotation angles.