Mac SDK
ZoomSDKRawDataVideoSourceController.h
1 //
2 // ZoomSDKRawDataVideoSourceController.h
3 // ZoomSDK
4 //
5 // Created by derain on 2020/8/10.
6 // Copyright © 2020 TOTTI. All rights reserved.
7 //
8 
9 #import <Foundation/Foundation.h>
10 #import "ZoomSDKRawDataController.h"
11 
12 
13 @interface ZoomSDKYUVProcessDataI420 : NSObject
18 - (unsigned int)getWidth;
19 
24 - (unsigned int)getHeight;
25 
30 - (char*)getYBuffer:(unsigned int)lineNum;
31 
36 - (char*)getUBuffer:(unsigned int)lineNum;
37 
42 - (char*)getVBuffer:(unsigned int)lineNum;
43 
48 - (unsigned int)getYStride;
49 
54 - (unsigned int)getUStride;
55 
60 - (unsigned int)getVStride;
61 
66 - (unsigned int)getRotation;
67 
72 - (BOOL)isLimitedI420;
73 @end
74 
75 @interface ZoomSDKVideoCapabilityItem : NSObject
80 - (unsigned int)getWidth;
81 
86 - (unsigned int)getHeight;
87 
92 - (unsigned int)getFrame;
93 @end
94 
95 
96 @interface ZoomSDKRawDataSender : NSObject
105 - (void)sendRawData:(char*)data width:(unsigned int)width height:(unsigned int)height dataLength:(unsigned int)length ratation:(ZoomSDKLocalVideoDeviceRotation)ratation;
106 @end
107 
108 
110 - (void)onInitialize:(ZoomSDKRawDataSender*)sender supportedCapabilityList:(NSArray*)capabilityList suggestCapability:(ZoomSDKVideoCapabilityItem*)suggestCap;
111 - (void)onPropertyChange:(NSArray*)supportedCapabilityList suggestCapability:(ZoomSDKVideoCapabilityItem*)suggestCap;
112 - (void)onStartSend;
113 - (void)onStopSend;
114 - (void)onUninitialize;
115 @end
116 
117 
118 @protocol ZoomSDKRawDataSendDelegate <NSObject>
119 - (void)onPreProcessRawData:(ZoomSDKYUVProcessDataI420*)data;
120 @end
121 
128 - (ZoomSDKError)registerRawDataPreProcessor:(id<ZoomSDKRawDataSendDelegate>)delegate;
129 
135 - (ZoomSDKError)unRegisterRawDataPreProcessor:(id<ZoomSDKRawDataSendDelegate>)delegate;
136 
142 - (ZoomSDKError)setExternalVideoSource:(id <ZoomSDKVirtualVideoSourceDelegate>)videoSource;
143 @end
-[ZoomSDKYUVProcessDataI420 getYStride]
unsigned int getYStride()
Get the V stride of this data.
-[ZoomSDKYUVProcessDataI420 getVStride]
unsigned int getVStride()
Get the V stride of this data.
-[ZoomSDKYUVProcessDataI420 getHeight]
unsigned int getHeight()
Get the height of this data.
-[ZoomSDKVideoCapabilityItem getFrame]
unsigned int getFrame()
Get the frame of this data.
ZoomSDKYUVProcessDataI420
Definition: ZoomSDKRawDataVideoSourceController.h:14
ZoomSDKVideoCapabilityItem
Definition: ZoomSDKRawDataVideoSourceController.h:76
-[ZoomSDKYUVProcessDataI420 getRotation]
unsigned int getRotation()
Get the rotation of this data.
ZoomSDKVirtualVideoSourceDelegate-p
Definition: ZoomSDKRawDataVideoSourceController.h:109
-[ZoomSDKYUVProcessDataI420 getUStride]
unsigned int getUStride()
Get the U stride of this data.
-[ZoomSDKYUVProcessDataI420 getWidth]
unsigned int getWidth()
Get the width of this data.
ZoomSDKRawDataVideoSourceController
Definition: ZoomSDKRawDataVideoSourceController.h:123
-[ZoomSDKYUVProcessDataI420 isLimitedI420]
BOOL isLimitedI420()
Get if this data is limited I420.
-[ZoomSDKVideoCapabilityItem getHeight]
unsigned int getHeight()
Get the height of this data.
ZoomSDKRawDataSender
Definition: ZoomSDKRawDataVideoSourceController.h:97
-[ZoomSDKVideoCapabilityItem getWidth]
unsigned int getWidth()
Get the width of this data.
ZoomSDKRawDataSendDelegate-p
Definition: ZoomSDKRawDataVideoSourceController.h:118