7#ifndef _ZOOM_VIDEO_SDK_USER_HELPER_INTERFACE_H_
8#define _ZOOM_VIDEO_SDK_USER_HELPER_INTERFACE_H_
277#if defined ANDROID || defined __IOS__
278 ZoomVideoSDKSubscribeFailReason_HasSubscribeOneShare,
288#if !defined __linux && !defined ANDROID
383#if !defined __linux && !defined ANDROID
SDK defined vector interface.
Camera control interface.
virtual ZoomVideoSDKErrors decline()=0
Decline the remote camera control request.
virtual ~IZoomVideoSDKCameraControlRequestHandler()
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 ~IZoomVideoSDKCanvas()
virtual ZoomVideoSDKErrors setAspectMode(void *handle, ZoomVideoSDKVideoAspect aspect)=0
Set the render video or share aspect ratio.
Video/share raw data sink interface.
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 ~IZoomVideoSDKRawDataPipeDelegate()
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 ~IZoomVideoSDKRemoteCameraControlHelper()
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 ~IZoomVideoSDKUser()
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.
Audio status information.
ZoomVideoSDKAudioType audioType
ZoomVideoSDKAudioStatus()
Share cursor information.
ZoomVideoSDKShareCursorData()
Share statistic information.
ZoomVideoSDKShareStatisticInfo()
Video statistic information.
ZoomVideoSDKVideoStatisticInfo()
ZoomVideoSDKNetworkStatus videoNetworkStatus
Video status information on the user's video device (the detected compatible video camera device),...
ZoomVideoSDKVideoStatus()
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
@ ZoomVideoSDKSubscribeFailReason_None
@ ZoomVideoSDKSubscribeFailReason_HasSubscribeTwo720P
@ ZoomVideoSDKSubscribeFailReason_TooFrequentCall
@ ZoomVideoSDKSubscribeFailReason_HasSubscribeTwoShare
@ ZoomVideoSDKSubscribeFailReason_HasSubscribeVideo1080POr720PAndOneShare
@ ZoomVideoSDKSubscribeFailReason_HasSubscribe1080POr720P
@ ZoomVideoSDKSubscribeFailReason_HasSubscribeExceededLimit
ZoomVideoSDKAudioType
Audio type: VOIP (Voice over IP), Telephony, or None.
@ ZoomVideoSDKAudioType_TELEPHONY
@ ZoomVideoSDKAudioType_VOIP
@ ZoomVideoSDKAudioType_None
@ ZoomVideoSDKResolution_720P
@ ZoomVideoSDKResolution_360P
@ ZoomVideoSDKResolution_Auto
Just for video canvas.
@ ZoomVideoSDKResolution_90P
@ ZoomVideoSDKResolution_1080P
@ ZoomVideoSDKResolution_180P
@ ZoomVideoSDKVideoAspect_Original
Original aspect ratio.
@ ZoomVideoSDKVideoAspect_Full_Filled
Full filled aspect ratio.
@ ZoomVideoSDKVideoAspect_PanAndScan
Pan and scan aspect ratio.
@ ZoomVideoSDKVideoAspect_LetterBox
Letterbox aspect ratio.
ZoomVideoSDKNetworkStatus
@ ZoomVideoSDKNetwork_Good
@ ZoomVideoSDKNetwork_Normal
@ ZoomVideoSDKNetwork_None
@ ZoomVideoSDKNetwork_Bad