Meeting SDK for Windows API Reference
Loading...
Searching...
No Matches
IZoomSDKPSSender Class Referenceabstract

#include <meeting_production_studio_ctrl_interface.h>

Public Member Functions

virtual ~IZoomSDKPSSender ()
 
virtual SDKError sendVideoFrame (char *frameBuffer, int width, int height, int frameLength, FrameDataFormat format=FrameDataFormat_I420_FULL)=0
 Send video raw data.
 
virtual SDKError sendAudio (char *data, unsigned int data_length, int sample_rate, ZoomSDKAudioChannel channelNum)=0
 Send audio raw data.
 

Detailed Description

Definition at line 27 of file meeting_production_studio_ctrl_interface.h.

Constructor & Destructor Documentation

◆ ~IZoomSDKPSSender()

virtual IZoomSDKPSSender::~IZoomSDKPSSender ( )
inlinevirtual

Definition at line 30 of file meeting_production_studio_ctrl_interface.h.

30{}

Member Function Documentation

◆ sendAudio()

virtual SDKError IZoomSDKPSSender::sendAudio ( char * data,
unsigned int data_length,
int sample_rate,
ZoomSDKAudioChannel channelNum )
pure virtual

Send audio raw data.

Parameters
dataThe audio data address.
data_lengthThe audio data length. Must be an even number.
sample_rateThe audio data sampling rate. Support 32k and 48k. 48k is recommended
channelNumChannel number. For more details, see ZoomSDKAudioChannel enum.
Returns
If the function succeeds, the return value is SDKERR_SUCCESS. Otherwise the function fails. To get extended error information, see SDKError enum.

◆ sendVideoFrame()

virtual SDKError IZoomSDKPSSender::sendVideoFrame ( char * frameBuffer,
int width,
int height,
int frameLength,
FrameDataFormat format = FrameDataFormat_I420_FULL )
pure virtual

Send video raw data.

Parameters
frameBufferThe video data address.
formatThe video data format. For more details, see FrameDataFormat enum.
Remarks
The params width, height, format should be consistent with param capability of StartPSMode.
Returns
If the function succeeds, the return value is SDKERR_SUCCESS. Otherwise the function fails. To get extended error information, see SDKError enum.