Meeting SDK for Windows API Reference
Loading...
Searching...
No Matches
customized_video_container.h
Go to the documentation of this file.
1
5#ifndef _ZOOM_CUSTOMIZED_VIDEO_CONTAINER_H_
6#define _ZOOM_CUSTOMIZED_VIDEO_CONTAINER_H_
7#include "zoom_sdk_def.h"
8
10
26
42
61{
62public:
68
74 virtual RECT GetPos() = 0;
75
81 virtual SDKError SetPos(RECT pos) = 0;
82
87 virtual SDKError Show() = 0;
88
93 virtual SDKError Hide() = 0;
94
99 virtual unsigned int GetCurrentRenderUserId() = 0;
100
106
112 virtual SDKError EnableShowScreenNameOnVideo(bool enable_show) = 0;
113
121
123};
129{
130public:
135 virtual SDKError Start() = 0;
136
141 virtual SDKError Stop() = 0;
142
144};
150{
151public:
156 virtual SDKError Start() = 0;
157
162 virtual SDKError Stop() = 0;
163
165};
171{
172public:
178 virtual SDKError Subscribe(unsigned int userid) = 0;
179
187 virtual SDKError Unsubscribe(unsigned int userid) = 0;
188
190};
191
207{
208public:
214 virtual void onRenderUserChanged(IVideoRenderElement* pElement, unsigned int userid) = 0;
215
222
228 virtual void onLayoutNotification(RECT wnd_client_rect) = 0;
229
236
248 virtual void onWindowMsgNotification(UINT uMsg, WPARAM wParam, LPARAM lParam) = 0;
249
251
253};
259{
260public:
267
275
282
288
293 virtual SDKError Show() = 0;
294
299 virtual SDKError Hide() = 0;
300
306 virtual SDKError Resize(RECT rc) = 0;
307
313 virtual SDKError SetBkColor(unsigned long color) = 0;
314
320
322};
324#endif
The active video render element interface in the meeting.
virtual SDKError Stop()=0
Hide the data of the current active user.
virtual SDKError Start()=0
Display the data of the current active user.
Callback event of custom video container.
virtual void onRenderUserChanged(IVideoRenderElement *pElement, unsigned int userid)=0
The callback will be triggered if the video render element corresponding to the user changes.
virtual void onRenderDataTypeChanged(IVideoRenderElement *pElement, VideoRenderDataType dataType)=0
The callback will be triggered if the video render element corresponding to data type changes.
virtual void onSubscribeUserFail(ZoomSDKVideoSubscribeFailReason fail_reason, IVideoRenderElement *pElement)=0
virtual void onVideoRenderElementDestroyed(IVideoRenderElement *pElement)=0
The callback will be triggered before the video render element is destroyed.
virtual void onWindowMsgNotification(UINT uMsg, WPARAM wParam, LPARAM lParam)=0
The SDK will pass the window messages to users via the callback. Here are the messages....
virtual void onLayoutNotification(RECT wnd_client_rect)=0
The callback will be triggered if the size of video container changes. The user should redeploy the v...
virtual SDKError SetBkColor(unsigned long color)=0
Sets the video container background color.
virtual SDKError DestroyAllVideoElement()=0
Destroy all the video render element.
virtual SDKError Show()=0
Show the video container.
virtual SDKError Resize(RECT rc)=0
Resize the video container in the specified area.
virtual SDKError SetEvent(ICustomizedVideoContainerEvent *pEvent)=0
Sets video container callback event handler.
virtual SDKError DestroyVideoElement(IVideoRenderElement *ppElement)=0
Destroy a video render element.
virtual IList< IVideoRenderElement * > * GetVideoElementList()=0
Gets the list of video render elements in the current container.
virtual SDKError Hide()=0
Hide the video container.
virtual SDKError CreateVideoElement(IVideoRenderElement **ppElement, VideoRenderElementType type_)=0
Create a video render element.
Normal video render element interface in the meeting.
virtual SDKError Unsubscribe(unsigned int userid)=0
Unsubscribe the data of the specified user.
virtual SDKError Subscribe(unsigned int userid)=0
Show the data of the specified user through normal render mode.
The interface to preview the video render element of the participant who joins the meeting before the...
virtual SDKError Start()=0
Starts previewing.
virtual SDKError Stop()=0
Stops previewing.
The base class for the video element interface.
virtual SDKError EnableShowScreenNameOnVideo(bool enable_show)=0
Sets the visibility of the screen name on the current render element.
virtual VideoRenderElementType GetType()=0
Gets the type of the video render element.
virtual unsigned int GetCurrentRenderUserId()=0
Gets the user ID corresponding to the current render element.
virtual SDKError Show()=0
Show the render element.
virtual SDKError Hide()=0
Hide the render element.
virtual RECT GetPos()=0
Gets the area where the current render element is.
virtual VideoRenderDataType GetCurrentRenderDataType()=0
Gets the data type of the current render element.
virtual SDKError SetResolution(VideoRenderResolution resolution)=0
Sets the resolution for the video in the current render element. Once you specify the value,...
virtual SDKError SetPos(RECT pos)=0
Specify a new display area of the current render element.
VideoRenderDataType
Enumeration of video render element data type. Here are more detailed structural descriptions.
@ VideoRenderData_ScreenName
ZoomSDKVideoSubscribeFailReason
@ ZoomSDKVideoSubscribe_Fail_TooFrequentCall
@ ZoomSDKVideoSubscribe_Fail_HasSubscribeTwo720P
@ ZoomSDKVideoSubscribe_Fail_None
@ ZoomSDKVideoSubscribe_Fail_HasSubscribe1080POr720
@ ZoomSDKVideoSubscribe_Fail_ViewOnly
@ ZoomSDKVideoSubscribe_Fail_NotInMeeting
@ ZoomSDKVideoSubscribe_Fail_HasSubscribeExceededLimit
VideoRenderResolution
Enumeration of video render resolution.
@ VideoRenderResolution_1080p
@ VideoRenderResolution_90p
@ VideoRenderResolution_180p
@ VideoRenderResolution_360p
@ VideoRenderResolution_720p
@ VideoRenderResolution_None
VideoRenderElementType
Enumeration of video render element type. Here are more detailed structural descriptions.
@ VideoRenderElement_NORMAL
@ VideoRenderElement_None
@ VideoRenderElement_ACTIVE
@ VideoRenderElement_PRVIEW
ZOOM windows SDK Common Definition File.
#define END_ZOOM_SDK_NAMESPACE
#define BEGIN_ZOOM_SDK_NAMESPACE
SDKError
Enumeration of common errors of SDK.