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
58{
59public:
66
72 virtual RECT GetPos() = 0;
73
79 virtual SDKError SetPos(RECT pos) = 0;
80
85 virtual SDKError Show() = 0;
86
91 virtual SDKError Hide() = 0;
92
97 virtual unsigned int GetCurrentRenderUserId() = 0;
98
104
110 virtual SDKError EnableShowScreenNameOnVideo(bool enable_show) = 0;
111
119
121};
127{
128public:
133 virtual SDKError Start() = 0;
134
139 virtual SDKError Stop() = 0;
140
142};
148{
149public:
154 virtual SDKError Start() = 0;
155
160 virtual SDKError Stop() = 0;
161
163};
169{
170public:
176 virtual SDKError Subscribe(unsigned int userid) = 0;
177
185 virtual SDKError Unsubscribe(unsigned int userid) = 0;
186
188};
189
205{
206public:
212 virtual void onRenderUserChanged(IVideoRenderElement* pElement, unsigned int userid) = 0;
213
220
226 virtual void onLayoutNotification(RECT wnd_client_rect) = 0;
227
234
246 virtual void onWindowMsgNotification(UINT uMsg, WPARAM wParam, LPARAM lParam) = 0;
247
249
251};
257{
258public:
265
273
280
286
291 virtual SDKError Show() = 0;
292
297 virtual SDKError Hide() = 0;
298
304 virtual SDKError Resize(RECT rc) = 0;
305
311 virtual SDKError SetBkColor(unsigned long color) = 0;
312
318
320};
322#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
Set 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
Set video container callback event handler.
virtual SDKError DestroyVideoElement(IVideoRenderElement *ppElement)=0
Destroy a video render element.
virtual IList< IVideoRenderElement * > * GetVideoElementList()=0
Get 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
Start previewing.
virtual SDKError Stop()=0
Stop previewing.
The base class for the video element interface.
virtual SDKError EnableShowScreenNameOnVideo(bool enable_show)=0
Set the visibility of the screen name on the current render element.
virtual VideoRenderElementType GetType()=0
Get the type of the video render element.
virtual unsigned int GetCurrentRenderUserId()=0
Get 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
Get the area where the current render element is.
virtual VideoRenderDataType GetCurrentRenderDataType()=0
Get the data type of the current render element.
virtual SDKError SetResolution(VideoRenderResolution resolution)=0
Set 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
Data type of the video render element. 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_1080p
@ VideoRenderResolution_90p
@ VideoRenderResolution_180p
@ VideoRenderResolution_360p
@ VideoRenderResolution_720p
@ VideoRenderResolution_None
VideoRenderElementType
Type of the video render element. 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.