Meeting SDK for Windows API Reference
Loading...
Searching...
No Matches
meeting_production_studio_ctrl_interface.h
Go to the documentation of this file.
1
5#ifndef _MEETING_PRODUCTION_STUDIO_CTRL_INTERFACE_H_
6#define _MEETING_PRODUCTION_STUDIO_CTRL_INTERFACE_H_
7#include "zoom_sdk_def.h"
10
12
25
26
28{
29public:
30 virtual ~IZoomSDKPSSender() {}
38 virtual SDKError sendVideoFrame(char* frameBuffer, int width, int height, int frameLength, FrameDataFormat format = FrameDataFormat_I420_FULL) = 0;
39
48 virtual SDKError sendAudio(char* data, unsigned int data_length, int sample_rate, ZoomSDKAudioChannel channelNum) = 0;
49};
55{
56public:
58
63 virtual void onStartPSModeResult(bool bSuccess) = 0;
64
69 virtual void onStartSend(IZoomSDKPSSender* sender) = 0;
70
74 virtual void onStopSend() = 0;
75
81 virtual void onPSUserStatusChanged(unsigned int userID, bool bStart) = 0;
82};
88{
89public:
97
102 virtual bool IsSupportPSMode() = 0;
103
108 virtual bool CanStartPSMode() = 0;
109
116
121 virtual SDKError StopPSMode() = 0;
122
126 virtual unsigned int GetPSUserID() = 0;
127
132 virtual bool IsPSModeStarted() = 0;
133};
134
136#endif
virtual SDKError StartPSMode(PSVideoSourceCapability capability)=0
Start production studio mode.
virtual bool IsPSModeStarted()=0
Determine whether the current meeting production mode has started.
virtual bool IsSupportPSMode()=0
Determine whether the current meeting supports the production mode or not.
virtual SDKError StopPSMode()=0
Stop production studio mode.
virtual bool CanStartPSMode()=0
Determine whether you have permission to start production studio. Only host or co-host can start prod...
virtual unsigned int GetPSUserID()=0
Get the user ID of current production studio user.
virtual SDKError SetEvent(IMeetingProductionStudioCtrlEvent *pEvent)=0
Configure the meeting production studio controller callback event handler.
Production studio controller callback event.
virtual void onStartSend(IZoomSDKPSSender *sender)=0
Callback event for production studio starts.
virtual void onPSUserStatusChanged(unsigned int userID, bool bStart)=0
Callback event of production studio user status changes.
virtual void onStopSend()=0
Callback event for production studio stops.
virtual void onStartPSModeResult(bool bSuccess)=0
Callback event notify the result of starting production studio mode.
virtual SDKError sendAudio(char *data, unsigned int data_length, int sample_rate, ZoomSDKAudioChannel channelNum)=0
Send audio raw data.
virtual SDKError sendVideoFrame(char *frameBuffer, int width, int height, int frameLength, FrameDataFormat format=FrameDataFormat_I420_FULL)=0
Send video raw data.
BEGIN_ZOOM_SDK_NAMESPACE struct tagPSVideoSourceCapability PSVideoSourceCapability
ZOOM windows SDK Common Definition File.
FrameDataFormat
Enumeration of video frame data format.
@ FrameDataFormat_I420_FULL
#define END_ZOOM_SDK_NAMESPACE
ZoomSDKAudioChannel
Enumeration of the audio modes.
#define BEGIN_ZOOM_SDK_NAMESPACE
SDKError
Enumeration of common errors of SDK.