Video SDK for Linux API Reference
Loading...
Searching...
No Matches
zoom_video_sdk_user_helper_interface.h
Go to the documentation of this file.
1
7#ifndef _ZOOM_VIDEO_SDK_USER_HELPER_INTERFACE_H_
8#define _ZOOM_VIDEO_SDK_USER_HELPER_INTERFACE_H_
11
17{
19 bool isOn;
20
22 {
23 isHasVideoDevice = false;
24 isOn = false;
25 }
26};
27
35
44
61
82
87{
88 int width;
89 int height;
90 int fps;
91 int bpf;
92
94 {
95 width = 0;
96 height = 0;
97 fps = 0;
98 bpf = 0;
99 }
100};
101
106{
107 unsigned int source_id;
108 int x;
109 int y;
110
112 {
113 source_id = 0;
114 x = 0;
115 y = 0;
116 }
117};
118
128
134
154
197
198
214
216{
217public:
219
223
227
231 virtual ZoomVideoSDKErrors turnLeft(unsigned int range = 50) = 0;
232
236 virtual ZoomVideoSDKErrors turnRight(unsigned int range = 50) = 0;
237
241 virtual ZoomVideoSDKErrors turnUp(unsigned int range = 50) = 0;
242
246 virtual ZoomVideoSDKErrors turnDown(unsigned int range = 50) = 0;
247
251 virtual ZoomVideoSDKErrors zoomIn(unsigned int range = 50) = 0;
252
256 virtual ZoomVideoSDKErrors zoomOut(unsigned int range = 50) = 0;
257};
258
259
267
281
287
288#if !defined __linux && !defined ANDROID
292{
293public:
295
303
308 virtual ZoomVideoSDKErrors unSubscribeWithView(void* handle) = 0;
309
316
323 virtual ZoomVideoSDKErrors setResolution(void* handle, ZoomVideoSDKResolution resolution) = 0;
324
328};
329#endif //__linux
330
335{
336public:
338
341 virtual const zchar_t* getCustomIdentity() = 0;
342
345 virtual const zchar_t* getUserName() = 0;
346
349 virtual const zchar_t* getUserID() = 0;
350
354
357 virtual const zchar_t* getUserReference() = 0;
358
361 virtual bool isHost() = 0;
362
365 virtual bool isManager() = 0;
366
369 virtual bool isVideoSpotLighted() = 0;
370
374
378
382
383#if !defined __linux && !defined ANDROID
387#endif
388
392
397
401
406 virtual bool getUserVolume(float& volume, bool isShareAudio = false) = 0;
407
411 virtual bool canSetUserVolume(bool isShareAudio = false) = 0;
412
416
421 virtual bool setUserVolume(float volume, bool isShareAudio = false) = 0;
422
426 virtual ZoomVideoSDKErrors transferFile(const zchar_t* filePath) = 0;
427
428
431 virtual bool isIncomingLiveStreamUser() = 0;
432
435 virtual bool isInSubSession() = 0;
436};
437
441{
442public:
447 virtual bool changeName(const zchar_t* name, IZoomVideoSDKUser* pUser) = 0;
448
452 virtual bool makeHost(IZoomVideoSDKUser* pUser) = 0;
453
457 virtual bool makeManager(IZoomVideoSDKUser* pUser) = 0;
458
462 virtual bool revokeManager(IZoomVideoSDKUser* pUser) = 0;
463
467 virtual bool removeUser(IZoomVideoSDKUser* pUser) = 0;
468
471 virtual bool reclaimHost() = 0;
472};
474#endif
SDK defined vector interface.
virtual ZoomVideoSDKErrors decline()=0
Decline the remote camera control request.
virtual ZoomVideoSDKErrors approve()=0
Approve the remote camera control request.
video or share canvas interface.
virtual ZoomVideoSDKErrors setResolution(void *handle, ZoomVideoSDKResolution resolution)=0
Sets the resolution for the user's video. Once you specify the value, the resolution will not change ...
virtual ZoomVideoSDKErrors unSubscribeWithView(void *handle)=0
Unsubscribes to the user's video or share view.
virtual ZoomVideoSDKErrors subscribeWithView(void *handle, ZoomVideoSDKVideoAspect videoAspect, ZoomVideoSDKResolution resolution=ZoomVideoSDKResolution_Auto)=0
Subscribes to the user's video or share view.
virtual ZoomVideoSDKCanvasType canvasType()=0
Gets the canvas type.
virtual ZoomVideoSDKErrors setAspectMode(void *handle, ZoomVideoSDKVideoAspect aspect)=0
Set the render video or share aspect ratio.
virtual void onRawDataStatusChanged(RawDataStatus status)=0
Call when subscribed data status changed.
virtual void onShareCursorDataReceived(ZoomVideoSDKShareCursorData info)=0
Call when the cursor data of share received.
virtual void onRawDataFrameReceived(YUVRawDataI420 *data_)=0
Call when subscribed data received.
Video/share raw data pipe interface.
virtual ZoomVideoSDKErrors subscribe(ZoomVideoSDKResolution resolution, IZoomVideoSDKRawDataPipeDelegate *listener)=0
Subscribe video/share.
virtual ZoomVideoSDKVideoStatus getVideoStatus()=0
Get video status.
virtual const zchar_t * getVideoDeviceName()=0
Get video device name.
virtual ZoomVideoSDKErrors unSubscribe(IZoomVideoSDKRawDataPipeDelegate *listener)=0
Unsubscribe video/share.
virtual ZoomVideoSDKRawDataType getRawdataType()=0
Get the raw data data type.
virtual ZoomVideoSDKVideoStatisticInfo getVideoStatisticInfo()=0
Get video statistic information.
virtual ZoomVideoSDKShareType getShareType()=0
Get share type.
virtual ZoomVideoSDKShareStatus getShareStatus()=0
Get share status.
virtual ZoomVideoSDKErrors giveUpControlRemoteCamera()=0
Give up control of the remote camera.
virtual ZoomVideoSDKErrors requestControlRemoteCamera()=0
Request to control remote camera.
virtual ZoomVideoSDKErrors zoomIn(unsigned int range=50)=0
Zoom the camera in.
virtual ZoomVideoSDKErrors turnDown(unsigned int range=50)=0
Turn the camera down.
virtual ZoomVideoSDKErrors zoomOut(unsigned int range=50)=0
Zoom the camera out.
virtual ZoomVideoSDKErrors turnRight(unsigned int range=50)=0
Turn the camera to the right.
virtual ZoomVideoSDKErrors turnUp(unsigned int range=50)=0
Turn the camera up.
virtual ZoomVideoSDKErrors turnLeft(unsigned int range=50)=0
Turn the camera to the left.
virtual bool revokeManager(IZoomVideoSDKUser *pUser)=0
Revoke manager rights from a user.
virtual bool removeUser(IZoomVideoSDKUser *pUser)=0
Remove user from session.
virtual bool makeManager(IZoomVideoSDKUser *pUser)=0
Assign a user as the session manager.
virtual bool reclaimHost()=0
Reclaim host permission.
virtual bool changeName(const zchar_t *name, IZoomVideoSDKUser *pUser)=0
Change a specific user's name.
virtual bool makeHost(IZoomVideoSDKUser *pUser)=0
Assign a user as the session host.
virtual IZoomVideoSDKRawDataPipe * GetVideoPipe()=0
Get the user's video raw data pipe.
virtual bool isHost()=0
Determine whether the user is the host.
virtual bool canSetUserVolume(bool isShareAudio=false)=0
Determine which audio you can set, shared audio or microphone.
virtual bool isVideoSpotLighted()=0
Determine whether the user is spotLighted.
virtual ZoomVideoSDKAudioStatus getAudioStatus()=0
Get the user's audio status.
virtual bool setUserVolume(float volume, bool isShareAudio=false)=0
Set the user's local volume. This does not affect how other participants hear the user.
virtual bool isManager()=0
Determine whether the user is the manager(coHost)
virtual ZoomVideoSDKErrors transferFile(const zchar_t *filePath)=0
Send file to current user object.
virtual const zchar_t * getUserReference()=0
Get the user's reference info.
virtual bool isIncomingLiveStreamUser()=0
Determine whether the user is incoming live stream user.
virtual const zchar_t * getUserID()=0
Get the user's id.
virtual ZoomVideoSDKVideoStatisticInfo getVideoStatisticInfo()=0
Get the user's video statistic information.
virtual const zchar_t * getUserName()=0
Get the user's name.
virtual IZoomVideoSDKCanvas * GetVideoCanvas()=0
Gets the user's video render canvas object.
virtual bool getUserVolume(float &volume, bool isShareAudio=false)=0
Get user volume.
virtual IVideoSDKVector< IZoomVideoSDKShareAction * > * getShareActionList()=0
Get the user's share-action list.
virtual IVideoSDKVector< IZoomVideoSDKRawDataPipe * > * getMultiCameraStreamList()=0
Get the user's multi-camera stream list.
virtual IZoomVideoSDKRemoteCameraControlHelper * getRemoteCameraControlHelper()=0
Get the helper class instance to access the remote camera control.
virtual bool isInSubSession()=0
Determine whether the user is in a subsession.
virtual bool hasIndividualRecordingConsent()=0
Used to determine whether I agree to individual video recording.
virtual const zchar_t * getCustomIdentity()=0
Get the user's custom id.
virtual ZoomVideoSDKShareStatisticInfo getShareStatisticInfo()=0
Get the user's share statistic information.
The YUV raw data handler interface.
Video status information on the user's video device (the detected compatible video camera device),...
bool isHasVideoDevice
Determine if the user's device has a compatible camera.
bool isOn
Determine if the camera is turned on.
Zoom Video SDK Common Definition File.
#define BEGIN_ZOOM_VIDEO_SDK_NAMESPACE
ZoomVideoSDKRawDataType
Enumeration of raw data types in Zoom Video SDK.
ZoomVideoSDKShareType
Enumeration of sharing types in Zoom Video SDK.
#define END_ZOOM_VIDEO_SDK_NAMESPACE
ZoomVideoSDKShareStatus
Enumeration of sharing status in Zoom Video SDK.
ZoomVideoSDKErrors
Enumeration of common Zoom Video SDK errors.
@ ZoomVideoSDKCanvasType_ShareData
Share data.
@ ZoomVideoSDKCanvasType_VideoData
Video camera data.
@ ZoomVideoSDKSubscribeFailReason_HasSubscribeTwo720P
@ ZoomVideoSDKSubscribeFailReason_TooFrequentCall
@ ZoomVideoSDKSubscribeFailReason_HasSubscribeTwoShare
@ ZoomVideoSDKSubscribeFailReason_HasSubscribeVideo1080POr720PAndOneShare
@ ZoomVideoSDKSubscribeFailReason_HasSubscribe1080POr720P
@ ZoomVideoSDKSubscribeFailReason_HasSubscribeExceededLimit
ZoomVideoSDKAudioType
Audio type: VOIP (Voice over IP), Telephony, or None.
@ ZoomVideoSDKResolution_Auto
Just for video canvas.
@ ZoomVideoSDKVideoAspect_Original
Original aspect ratio.
@ ZoomVideoSDKVideoAspect_Full_Filled
Full filled aspect ratio.
@ ZoomVideoSDKVideoAspect_PanAndScan
Pan and scan aspect ratio.
@ ZoomVideoSDKVideoAspect_LetterBox
Letterbox aspect ratio.