Callback event of custom video container.
More...
#include <customized_video_container.h>
Callback event of custom video container.
◆ 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_rect | Specify a new display area. The coordinate value of the structure is that of the parent window of the video container. |
◆ onRenderDataTypeChanged()
The callback will be triggered if the video render element corresponding to data type changes.
- Parameters
-
pElement | The video render elements corresponding to data type that is changed. |
dataType | Specify 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
-
pElement | The video render element corresponding to the user who is changed. |
userid | Specify the ID of new user. |
◆ onVideoRenderElementDestroyed()
virtual void ICustomizedVideoContainerEvent::onVideoRenderElementDestroyed |
( |
IVideoRenderElement * |
pElement | ) |
|
|
pure virtual |
The callback will be triggered before the video render element is destroyed.
- Parameters
-
pElement | Specify the video render element to be destroyed. |
The documentation for this class was generated from the following file: