Video container interface.
More...
#include <customized_video_container.h>
Video container interface.
Definition at line 199 of file customized_video_container.h.
◆ ~ICustomizedVideoContainer()
virtual ICustomizedVideoContainer::~ICustomizedVideoContainer |
( |
| ) |
|
|
inlinevirtual |
◆ CreateVideoElement()
Create a video render element.
- Parameters
-
[out] | ppElement | Once the function succeeds, the parameter will store the pointer to the video render element. |
| type_ | Specify the type of the video render element to be created. |
- Returns
- If the function succeeds, the return value is SDKErr_Success, the return value of ppElement is not nullptr. Otherwise failed. To get extended error information, see SDKError enum.
◆ DestroyAllVideoElement()
virtual SDKError ICustomizedVideoContainer::DestroyAllVideoElement |
( |
| ) |
|
|
pure virtual |
Destroy all the video render element.
- Returns
- If the function succeeds, the return value is SDKErr_Success. Otherwise failed. To get extended error information, see SDKError enum.
◆ DestroyVideoElement()
Destroy a video render element.
- Parameters
-
ppElement | Specify the video render element to be destroyed. |
- Returns
- If the function succeeds, the return value is SDKErr_Success. Otherwise failed. To get extended error information, see SDKError enum.
◆ GetVideoElementList()
Get the list of video render elements in the current container.
- Returns
- If the function succeeds, the return value is the list that stores the video render element. Otherwise failed, the return list is blank.
◆ Hide()
virtual SDKError ICustomizedVideoContainer::Hide |
( |
| ) |
|
|
pure virtual |
Hide the video container.
- Returns
- If the function succeeds, the return value is SDKErr_Success. Otherwise failed. To get extended error information, see SDKError enum.
◆ Resize()
virtual SDKError ICustomizedVideoContainer::Resize |
( |
RECT | rc | ) |
|
|
pure virtual |
Resize the video container in the specified area.
- Parameters
-
rc | Specify a new display area. The coordinate value of the structure is that of the parent window of video container. |
- Returns
- If the function succeeds, the return value is SDKErr_Success. Otherwise failed. To get extended error information, see SDKError enum.
◆ SetBkColor()
virtual SDKError ICustomizedVideoContainer::SetBkColor |
( |
unsigned long | color | ) |
|
|
pure virtual |
Set the video container background color.
- Parameters
-
color | Specify the color of the video container background in RGB format. |
- Returns
- If the function succeeds, the return value is SDKErr_Success. Otherwise the function fails. To get extended error information, see SDKError enum.
◆ SetEvent()
Set video container callback event handler.
- Parameters
-
- Returns
- If the function succeeds, the return value is SDKErr_Success. Otherwise failed. To get extended error information, see SDKError enum.
◆ Show()
virtual SDKError ICustomizedVideoContainer::Show |
( |
| ) |
|
|
pure virtual |
Show the video container.
- Returns
- If the function succeeds, the return value is SDKErr_Success. Otherwise failed. To get extended error information, see SDKError enum.