Meeting SDK for Windows API Reference
Loading...
Searching...
No Matches
customized_video_container.h
Go to the documentation of this file.
1
6#ifndef _ZOOM_CUSTOMIZED_VIDEO_CONTAINER_H_
7#define _ZOOM_CUSTOMIZED_VIDEO_CONTAINER_H_
8#include "zoom_sdk_def.h"
9
11
23
35
48{
49public:
54
58 virtual RECT GetPos() = 0;
59
63 virtual SDKError SetPos(RECT pos) = 0;
64
67 virtual SDKError Show() = 0;
68
71 virtual SDKError Hide() = 0;
72
75 virtual unsigned int GetCurrentRenderUserId() = 0;
76
80
84 virtual SDKError EnableShowScreenNameOnVideo(bool enable_show) = 0;
85
92
94};
95
99{
100public:
103 virtual SDKError Start() = 0;
104
107 virtual SDKError Stop() = 0;
109};
110
114{
115public:
118 virtual SDKError Start() = 0;
119
122 virtual SDKError Stop() = 0;
124};
125
129{
130public:
134 virtual SDKError Subscribe(unsigned int userid) = 0;
135
141 virtual SDKError Unsubscribe(unsigned int userid) = 0;
143};
144
155
159{
160public:
164 virtual void onRenderUserChanged(IVideoRenderElement* pElement, unsigned int userid) = 0;
165
170
174 virtual void onLayoutNotification(RECT wnd_client_rect) = 0;
175
180
190 virtual void onWindowMsgNotification(UINT uMsg, WPARAM wParam, LPARAM lParam) = 0;
191
193
195};
196
200{
201public:
207
214
220
225
229 virtual SDKError Show() = 0;
230
234 virtual SDKError Hide() = 0;
235
240 virtual SDKError Resize(RECT rc) = 0;
241
246 virtual SDKError SetBkColor(unsigned long color) = 0;
247
252
254};
256#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
Data type of screen name only.
@ VideoRenderData_Avatar
Data type without video data.
@ VideoRenderData_Video
Data type including the video data.
@ VideoRenderData_None
For initiation.
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
<For initiation
@ VideoRenderResolution_180p
@ VideoRenderResolution_360p
@ VideoRenderResolution_720p
@ VideoRenderResolution_None
VideoRenderElementType
Type of the video render element. Here are more detailed structural descriptions.
@ VideoRenderElement_NORMAL
Normal type, see INormalVideoRenderElement.
@ VideoRenderElement_None
For initiation.
@ VideoRenderElement_ACTIVE
Active type, see IActiveVideoRenderElement.
@ VideoRenderElement_PRVIEW
Preview type, see IPreviewVideoRenderElement.
ZOOM windows SDK Common Definition File.
#define END_ZOOM_SDK_NAMESPACE
#define BEGIN_ZOOM_SDK_NAMESPACE
SDKError
Enumeration of common errors of SDK.