Video SDK for Windows API Reference
Loading...
Searching...
No Matches
zoom_video_sdk_user_helper_interface.h
Go to the documentation of this file.
1
6#ifndef _ZOOM_VIDEO_SDK_USER_HELPER_INTERFACE_H_
7#define _ZOOM_VIDEO_SDK_USER_HELPER_INTERFACE_H_
10
16{
20 bool isOn;
21
23 {
24 isHasVideoDevice = false;
25 isOn = false;
26 }
27};
28
36
45
62
83
104
109{
110 unsigned int source_id;
111 int x;
112 int y;
113
115 {
116 source_id = 0;
117 x = 0;
118 y = 0;
119 }
120};
121
132
138
166
225
246
248{
249public:
256
262
268 virtual ZoomVideoSDKErrors turnLeft(unsigned int range = 50) = 0;
269
275 virtual ZoomVideoSDKErrors turnRight(unsigned int range = 50) = 0;
276
282 virtual ZoomVideoSDKErrors turnUp(unsigned int range = 50) = 0;
283
289 virtual ZoomVideoSDKErrors turnDown(unsigned int range = 50) = 0;
290
296 virtual ZoomVideoSDKErrors zoomIn(unsigned int range = 50) = 0;
297
303 virtual ZoomVideoSDKErrors zoomOut(unsigned int range = 50) = 0;
304};
305
306
318
332
340
341#if !defined __linux && !defined ANDROID
347{
348public:
358
364 virtual ZoomVideoSDKErrors unSubscribeWithView(void* handle) = 0;
365
373
380 virtual ZoomVideoSDKErrors setResolution(void* handle, ZoomVideoSDKResolution resolution) = 0;
381
387};
388#endif
396{
397public:
403 virtual const zchar_t* getCustomIdentity() = 0;
404
409 virtual const zchar_t* getUserName() = 0;
410
415 virtual const zchar_t* getUserID() = 0;
416
422
427 virtual const zchar_t* getUserReference() = 0;
428
433 virtual bool isHost() = 0;
434
439 virtual bool isManager() = 0;
440
445 virtual bool isVideoSpotLighted() = 0;
446
452
458
464
465#if !defined __linux && !defined ANDROID
471#endif
477
483
489
496 virtual bool getUserVolume(float& volume, bool isShareAudio = false) = 0;
497
503 virtual bool canSetUserVolume(bool isShareAudio = false) = 0;
504
510
517 virtual bool setUserVolume(float volume, bool isShareAudio = false) = 0;
518
524 virtual ZoomVideoSDKErrors transferFile(const zchar_t* filePath) = 0;
525
526
531 virtual bool isIncomingLiveStreamUser() = 0;
532
537 virtual bool isInSubSession() = 0;
538};
544{
545public:
552 virtual bool changeName(const zchar_t* name, IZoomVideoSDKUser* pUser) = 0;
553
559 virtual bool makeHost(IZoomVideoSDKUser* pUser) = 0;
560
566 virtual bool makeManager(IZoomVideoSDKUser* pUser) = 0;
567
573 virtual bool revokeManager(IZoomVideoSDKUser* pUser) = 0;
574
580 virtual bool removeUser(IZoomVideoSDKUser* pUser) = 0;
581
586 virtual bool reclaimHost() = 0;
587};
589#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),...
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.
wchar_t zchar_t
@ ZoomVideoSDKSubscribeFailReason_HasSubscribeTwo720P
@ ZoomVideoSDKSubscribeFailReason_TooFrequentCall
@ ZoomVideoSDKSubscribeFailReason_HasSubscribeTwoShare
@ ZoomVideoSDKSubscribeFailReason_HasSubscribeVideo1080POr720PAndOneShare
@ ZoomVideoSDKSubscribeFailReason_HasSubscribe1080POr720P
@ ZoomVideoSDKSubscribeFailReason_HasSubscribeExceededLimit
ZoomVideoSDKAudioType
Audio type: VOIP (Voice over IP), Telephony, or None.