6#import <Foundation/Foundation.h>
7#import <ZMVideoSDK/ZMVideoSDKDef.h>
8#import <ZMVideoSDK/ZMVideoSDKVideoCanvas.h>
12NS_ASSUME_NONNULL_BEGIN
27@property (nonatomic, assign, readonly) BOOL
isOn;
44@property (nonatomic, assign, readonly) BOOL
isMuted;
49@property (nonatomic, assign, readonly) BOOL
isTalking;
61@property (nonatomic, assign, readonly)
int width;
66@property (nonatomic, assign, readonly)
int height;
71@property (nonatomic, assign, readonly)
int fps;
76@property (nonatomic, assign, readonly)
int bpf;
93@property (nonatomic, assign, readonly)
int width;
98@property (nonatomic, assign, readonly)
int height;
103@property (nonatomic, assign, readonly)
int fps;
108@property (nonatomic, assign, readonly)
int bpf;
125@property (nonatomic, assign, readonly)
char* _Nullable
yBuffer;
130@property (nonatomic, assign, readonly)
char* _Nullable
uBuffer;
135@property (nonatomic, assign, readonly)
char* _Nullable
vBuffer;
140@property (nonatomic, assign, readonly)
char* _Nullable
buffer;
145@property (nonatomic, assign, readonly, nullable)
char*
alphaBuffer;
150@property (nonatomic, assign, readonly)
unsigned int bufferLen;
175@property (nonatomic, assign, readonly)
unsigned int rotation;
180@property (nonatomic, assign, readonly)
unsigned int resourceID;
185@property (nonatomic, assign, readonly)
long long timeStamp;
216@property (nonatomic, assign, readonly)
unsigned int sourceID;
221@property (nonatomic, assign, readonly)
int x;
226@property (nonatomic, assign, readonly)
int y;
233@protocol ZMVideoSDKRawDataPipeDelegate <NSObject>
503- (BOOL)setUserVolume:(
float)volume isSharingAudio:(BOOL)isSharingAudio DEPRECATED_MSG_ATTRIBUTE("Use -setUserPlaybackVolume:isSharingAudio: instead");
512- (BOOL)getUserVolume:(
float*)volume isSharingAudio:(BOOL)isSharingAudio DEPRECATED_MSG_ATTRIBUTE("Use -getUserPlaybackVolume:isSharingAudio: instead");
520- (BOOL)canSetUserVolume:(BOOL)isShareAudio DEPRECATED_MSG_ATTRIBUTE("Use -canSetUserPlaybackVolume: instead");
528- (BOOL)setUserPlaybackVolume:(
float)volume isSharingAudio:(BOOL)isSharingAudio;
536- (BOOL)getUserPlaybackVolume:(
float*)volume isSharingAudio:(BOOL)isSharingAudio;
543- (BOOL)canSetUserPlaybackVolume:(BOOL)isShareAudio;
ZMVideoSDKResolution
Enumeration of render resolution.
ZMVideoSDKRawDataType
Enumeration of raw data types.
ZMVideoSDKDataType
Enumeration of the data type for network quality monitoring.
ZMVideoSDKShareCapturePauseReason
Enumeration of reasons why screen sharing capture is paused in the Zoom Video SDK.
ZMVideoSDKShareType
Enumerates the types of content available for sharing in a session.
ZMVideoSDKErrors
Enumerates all errors in the VideoSDK.
ZMVideoSDKWhiteboardStatus
Enumeration of the status of whiteboard sharing.
ZMVideoSDKRawDataStatus
Enumeration the statuses of raw data.
ZMVideoSDKNetworkStatus
Enumerates the network statuses.
ZMVideoSDKShareStatus
Enumerates the status of sharing.
ZMVideoSDKAudioType
Enumerates the types of audio.
BOOL isTalking
Determines whether the user is talking.
BOOL isMuted
Determines whether the audio is muted.
ZMVideoSDKAudioType audioType
Gets audio type: VOIP (Voice over IP), Telephony, or None.
Camera control request handler object interface.
ZMVideoSDKErrors approve()
Approve the remote camera control request.
ZMVideoSDKErrors decline()
Decline the remote camera control request.
Video or share raw data pipe interface.
ZMVideoSDKRawDataType getRawdataType()
Gets the raw data data type.
ZMVideoSDKVideoStatisticInfo *_Nullable getVideoStatisticInfo()
Gets video statistic information.
ZMVideoSDKShareType getShareType()
Gets share type.
ZMVideoSDKVideoStatus *_Nullable getVideoStatus()
Gets video status.
ZMVideoSDKShareCapturePauseReason getShareCapturePauseReason()
Gets the reason why the share capture is paused.
NSString *_Nullable getVideoDeviceName()
Gets video device name.
ZMVideoSDKShareStatus getShareStatus()
Gets share status.
Remote camera control helper object interface.
ZMVideoSDKErrors requestControlRemoteCamera()
Requests to control remote camera.
ZMVideoSDKErrors giveUpControlRemoteCamera()
Give up control of the remote camera.
Represents the state and control interfaces of a share action in a Zoom session.
Represents the cursor position data during screen sharing.
unsigned int sourceID
The source id of the share cursor.
int y
The y value of the coordinate.
int x
The x value of the coordinate.
Share statistic infomation interface.
int width
Gets the width of share data size.
ZMVideoSDKNetworkStatus shareNetworkStatus
Gets share network status.
int height
Gets the height of share data size.
BOOL reclaimHost()
Reclaim host permission. Allow the user whose role_type = 1 to reclaim the host role.
Zoom Video SDK user information.
unsigned int getAudioLevel()
Gets the current audio level of a remote user.
BOOL isIncomingLiveStreamUser()
Determines whether the user is incoming live stream user.
NSArray< ZMVideoSDKRawDataPipe * > *_Nullable getMultiCameraStreamList()
Gets the user's multi-camera stream list.
NSArray< ZMVideoSDKShareAction * > *_Nullable getShareActionList()
Gets the user's share-action list.
BOOL isInSubSession()
Determines whether the user is in a subsession.
BOOL isHost()
Determines whether the user is the host.
ZMVideoSDKWhiteboardStatus getWhiteboardStatus()
Gets the user's whiteboard sharing status.
BOOL isManager()
Determines whether the user is the manager.
NSString *_Nullable getUserKey()
Gets the user's key.
NSString *_Nullable getUserReference()
Gets the user's reference.
ZMVideoSDKRemoteCameraControlHelper *_Nullable getRemoteCameraControlHelper()
Gets the helper class instance to access the remote camera control.
ZMVideoSDKShareStatisticInfo *_Nullable getShareStatisticInfo()
Gets the user's share statistic information.
ZMVideoSDKVideoCanvas *_Nullable getVideoCanvas()
Gets the user's video canvas.
ZMVideoSDKVideoStatisticInfo *_Nullable getVideoStatisticInfo()
Gets the user's video statistic information.
NSString *_Nullable getCustomIdentity()
Gets the user's custom identity.
BOOL hasIndividualRecordingConsent()
Determines whether I agree to individual video recording.
NSString *_Nullable getUserName()
Gets the user's name in the session.
NSString *_Nullable getUserID()
Gets the user's ID.
ZMVideoSDKAudioStatus *_Nullable getAudioStatus()
Gets the user's audio status.
ZMVideoSDKRawDataPipe *_Nullable getVideoPipe()
Gets the user's video pipe.
ZMVideoSDKNetworkStatus getOverallNetworkLevel()
Gets the user's overall network quality level.
BOOL isVideoSpotLighted()
Check if user is spotlighted.
Manages the rendering of video or screen share content in the Zoom Video SDK.
Video statistic information interface.
int width
Gets the width of video data size.
ZMVideoSDKNetworkStatus videoNetworkStatus
Gets video network status.
int height
Gets the height of video data size.
ZMVideoSDKVideoStatus provides information on the user's video device (the detected compatible video ...
BOOL isHasVideoDevice
Query if the user's device has a compatible camera. YES : compatible camera detected,...
BOOL isOn
Query if the camera is turned on. YES : camera turned on, NO : camera turned off.
YUV raw data 420 infomation interface.
BOOL canAddRef()
Determines if adding a reference to the raw data buffer is supported.
char *_Nullable yBuffer
Gets the YUVI420 Y buffer. The Y component represents the luma or brightness values.
unsigned int bufferLen
The buffer length of this data.
unsigned int resourceID
Gets the source_id of current YUV raw data.
char *_Nullable vBuffer
Gets the YUVI420 V buffer. The V component represents the chroma values.
BOOL isLimitedI420
Gets if this data is limited I420 format.
char *_Nullable buffer
The buffer data.
unsigned int streamWidth
Query stream width.
char *_Nullable uBuffer
Gets the YUVI420 U buffer. The U component represents the chroma values.
unsigned int rotation
Query the video raw data rotation.
unsigned int streamHeight
Gets the stream height.
unsigned int alphaBufferLen
Gets the alpha buffer length.
BOOL addRef()
Increase reference count by 1. Adding a reference ensures that the raw data buffer nots be released.
char * alphaBuffer
Gets video alpha mask data buffer.
int releaseRef()
Decrease reference count by 1. When finished using the raw data buffer, call releaseRef.
long long timeStamp
Millisecond timestamp.