6#import <Foundation/Foundation.h>
7#import <ZoomSDK/ZoomSDKErrors.h>
104@protocol ZoomSDKRendererDelegate <NSObject>
108- (void)onSubscribedUserDataOn;
112- (void)onSubscribedUserDataOff;
117- (void)onSubscribedUserLeft DEPRECATED_MSG_ATTRIBUTE("No longer used");
126- (void)onRendererBeDestroyed;
144@property(nonatomic, assign, nullable)id<ZoomSDKRendererDelegate> delegate;
170- (
unsigned int)getSubscribeID;
ZoomSDKError
Enumeration of common errors of SDK.
ZoomSDKResolution
Enumeration of video resolution options.
ZoomSDKRawDataType
Enumeration of raw data types.
Subscribe to raw video or share data and handle rendering.
unsigned int _subscribeID
ZoomSDKRawDataType _rawDataType
id< ZoomSDKRendererDelegate > _delegate
ZoomSDKResolution _resolution
Represents raw YUV I420 format data received from subscribed video stream.
char *_Nullable getBuffer()
Gets the buffer data.
unsigned int getStreamHeight()
Gets the stream height of this data.
int releaseData()
Release the object, if you has add ref, remeber to call this api to release when you wantn't to use t...
BOOL addRef()
Adds reference for this object, if you doesn't add ref, this object is released when the callback res...
BOOL canAddRef()
Gets if this object can add ref.
unsigned int getAlphaBufferLen()
Gets the alpha buffer length.
char *_Nullable getAlphaBuffer()
Gets video alpha mask data buffer.
unsigned int getSourceID()
Gets the s␝ource ID of this data.
unsigned int getStreamWidth()
Gets the stream width of this data.
unsigned int getRotation()
Gets the rotation of this data.
char *_Nullable getUBuffer()
Gets the U data.
char *_Nullable getYBuffer()
Gets the Y data.
unsigned int getBufferLen()
Gets the buffer length of this data.
BOOL isLimitedI420()
Gets if this data is limited I420 format.
long long getTimeStamp()
Gets the raw data's timestamp.
char *_Nullable getVBuffer()
Gets the V data.