Meeting SDK for macOS API Reference
Loading...
Searching...
No Matches
ZoomSDKPSSender Class Reference

#include <ZoomSDKMeetingProductionStudioController.h>

Inherits NSObject.

Instance Methods

(ZoomSDKError- sendVideoFrame:width:height:frameLength:format:
 Send video to production studio.
 
(ZoomSDKError- sendAudio:dataLength:sampleRate:channel:
 Send audio to production studio.
 

Detailed Description

Definition at line 6 of file ZoomSDKMeetingProductionStudioController.h.

Method Documentation

◆ sendAudio:dataLength:sampleRate:channel:

- (ZoomSDKError) sendAudio: (char *) data
dataLength: (unsigned int) length
sampleRate: (int) rate
channel: (ZoomSDKAudioChannel) channel 

Send audio to production studio.

Parameters
dataThe audio data's address.
lengthThe audio data's length, in even numbers.
rateThe audio data's sampling rate.
channelThe channel type, default is ZoomSDKAudioChannel_Mono.
Returns
If the function succeeds, it will return ZoomSDKError_Success. Otherwise the function fails.

◆ sendVideoFrame:width:height:frameLength:format:

- (ZoomSDKError) sendVideoFrame: (char *) frameBuffer
width: (unsigned int) width
height: (unsigned int) height
frameLength: (unsigned int) frameLength
format: (ZoomSDKFrameDataFormat) format 

Send video to production studio.

Parameters
frameBufferThe data to send.
widthThe width of the data to send.
heightThe height of the data to send.
frameLengthThe length of the data to send.
formatThe format of frame data.
Returns
If the function succeeds, it will return the ZoomSDKError_Success, otherwise failed.
Note
The width and height of the video data sent are same with the width and height in ZoomSDKPSVideoSourceCapability, which is passed in when calling startPSMode. If they are not same, returns ZoomSDKError_InvalidParameter.