Video SDK for MacOS API Reference
Loading...
Searching...
No Matches
ZMVideoSDKShareSender Class Reference

Interface to send video share frame data. More...

#include <ZMVideoSDKShareHelper.h>

Inherits NSObject.

Instance Methods

(ZMVideoSDKErrors- sendShareFrame:width:height:frameLength:format:
 Send one frame data.
 

Detailed Description

Interface to send video share frame data.

Definition at line 142 of file ZMVideoSDKShareHelper.h.

Method Documentation

◆ sendShareFrame:width:height:frameLength:format:

- (ZMVideoSDKErrors) sendShareFrame: (char *_Nullable) frameBuffer
width: (int) width
height: (int) height
frameLength: (int) frameLength
format: (ZMVideoSDKFrameDataFormat) format 

Send one frame data.

Parameters
frameBufferFrameBuffer YUVI420 buffer.
widthFrame width.
heightFrame height.
frameLengthBuffer length.
formatRaw data format.
Returns
If the function succeeds, the return value is ZMVideoSDKErrors_Success, otherwise failed.