Meeting SDK for Windows API Reference
Loading...
Searching...
No Matches
ICustomizedVideoContainerEvent Class Referenceabstract

Callback event of custom video container. More...

#include <customized_video_container.h>

Public Member Functions

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 onLayoutNotification (RECT wnd_client_rect)=0
 The callback will be triggered if the size of video container changes. The user should redeploy the video render elements displayed once received the callback event.
 
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. WM_MOUSEMOVE WM_MOUSEENTER WM_MOUSELEAVE WM_LBUTTONDOWN WM_LBUTTONUP WM_RBUTTONUP WM_LBUTTONDBLCLK WM_KEYDOWN.
 
virtual void onSubscribeUserFail (ZoomSDKVideoSubscribeFailReason fail_reason, IVideoRenderElement *pElement)=0
 
virtual ~ICustomizedVideoContainerEvent ()
 

Detailed Description

Callback event of custom video container.

Definition at line 158 of file customized_video_container.h.

Constructor & Destructor Documentation

◆ ~ICustomizedVideoContainerEvent()

virtual ICustomizedVideoContainerEvent::~ICustomizedVideoContainerEvent ( )
inlinevirtual

Definition at line 194 of file customized_video_container.h.

194{};

Member Function Documentation

◆ onLayoutNotification()

virtual void ICustomizedVideoContainerEvent::onLayoutNotification ( RECT wnd_client_rect)
pure virtual

The callback will be triggered if the size of video container changes. The user should redeploy the video render elements displayed once received the callback event.

Parameters
wnd_client_rectSpecify a new display area. The coordinate value of the structure is that of the parent window of the video container.

◆ onRenderDataTypeChanged()

virtual void ICustomizedVideoContainerEvent::onRenderDataTypeChanged ( IVideoRenderElement * pElement,
VideoRenderDataType dataType )
pure virtual

The callback will be triggered if the video render element corresponding to data type changes.

Parameters
pElementThe video render elements corresponding to data type that is changed.
dataTypeSpecify a new render data type. For more details, see VideoRenderDataType enum.

◆ onRenderUserChanged()

virtual void ICustomizedVideoContainerEvent::onRenderUserChanged ( IVideoRenderElement * pElement,
unsigned int userid )
pure virtual

The callback will be triggered if the video render element corresponding to the user changes.

Parameters
pElementThe video render element corresponding to the user who is changed.
useridSpecify the ID of new user.

◆ onSubscribeUserFail()

virtual void ICustomizedVideoContainerEvent::onSubscribeUserFail ( ZoomSDKVideoSubscribeFailReason fail_reason,
IVideoRenderElement * pElement )
pure virtual

◆ onVideoRenderElementDestroyed()

virtual void ICustomizedVideoContainerEvent::onVideoRenderElementDestroyed ( IVideoRenderElement * pElement)
pure virtual

The callback will be triggered before the video render element is destroyed.

Parameters
pElementSpecify the video render element to be destroyed.
Remarks
The specified video render element will be destroyed once the function calls end. The user should complete the operations to the related video render element.

◆ onWindowMsgNotification()

virtual void ICustomizedVideoContainerEvent::onWindowMsgNotification ( UINT uMsg,
WPARAM wParam,
LPARAM lParam )
pure virtual

The SDK will pass the window messages to users via the callback. Here are the messages. WM_MOUSEMOVE WM_MOUSEENTER WM_MOUSELEAVE WM_LBUTTONDOWN WM_LBUTTONUP WM_RBUTTONUP WM_LBUTTONDBLCLK WM_KEYDOWN.