Meeting SDK for Windows API Reference
All Data Structures Files Functions Variables Typedefs Enumerations Enumerator Macros Pages
INormalVideoRenderElement Class Referenceabstract

Normal video render element interface in the meeting. More...

#include <customized_video_container.h>

Inherits IVideoRenderElement.

Public Member Functions

virtual SDKError Subscribe (unsigned int userid)=0
 Show the data of the specified user through normal render mode.
 
virtual SDKError Unsubscribe (unsigned int userid)=0
 Unsubscribe the data of the specified user.
 
virtual ~INormalVideoRenderElement ()
 
- Public Member Functions inherited from IVideoRenderElement
virtual VideoRenderElementType GetType ()=0
 Get the type of the video render element.
 
virtual RECT GetPos ()=0
 Get the area where the current render element is.
 
virtual SDKError SetPos (RECT pos)=0
 Specify a new display area of the current render element.
 
virtual SDKError Show ()=0
 Show the render element.
 
virtual SDKError Hide ()=0
 Hide the render element.
 
virtual unsigned int GetCurrentRenderUserId ()=0
 Get the user ID corresponding to the current render element.
 
virtual VideoRenderDataType GetCurrentRenderDataType ()=0
 Get the data type of the current render element.
 
virtual SDKError EnableShowScreenNameOnVideo (bool enable_show)=0
 Set the visibility of the screen name on 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, the resolution will not change even the size of the element is changed. Specify a bigger resolution may cause subscribing fail.
 
virtual ~IVideoRenderElement ()
 

Detailed Description

Normal video render element interface in the meeting.

Definition at line 128 of file customized_video_container.h.

Constructor & Destructor Documentation

◆ ~INormalVideoRenderElement()

virtual INormalVideoRenderElement::~INormalVideoRenderElement ( )
inlinevirtual

Definition at line 142 of file customized_video_container.h.

142{}

Member Function Documentation

◆ Subscribe()

virtual SDKError INormalVideoRenderElement::Subscribe ( unsigned int userid)
pure virtual

Show the data of the specified user through normal render mode.

Parameters
useridSpecify the user ID.
Remarks
Valid for both normal user and webinar attendee.

◆ Unsubscribe()

virtual SDKError INormalVideoRenderElement::Unsubscribe ( unsigned int userid)
pure virtual

Unsubscribe the data of the specified user.

Parameters
useridSpecify the ID of user that you want to unsubscribe his data.
Remarks
Call Subscribe with the other ID if you want to view his data. Call the function to stop receiving the data before calling the parent class Hide() function if you no longer want to see the data of the specified user.
Valid for both normal user and webinar attendee.