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

Process after the host receives the requirement from the user to give the raw live stream privilege. More...

#include <meeting_live_stream_interface.h>

Public Member Functions

virtual ~IRequestRawLiveStreamPrivilegeHandler ()
 
virtual const zchar_tGetRequestId ()=0
 Gets the request ID.
 
virtual unsigned int GetRequesterId ()=0
 Gets the user ID who requested privilege.
 
virtual const zchar_tGetRequesterName ()=0
 Gets the user name who requested privileges.
 
virtual const zchar_tGetBroadcastUrl ()=0
 Gets the broadcast URL.
 
virtual const zchar_tGetBroadcastName ()=0
 Gets the broadcast name.
 
virtual SDKError GrantRawLiveStreamPrivilege ()=0
 Grants the user permission to start raw live stream and then destroys this instance.
 
virtual SDKError DenyRawLiveStreamPrivilege ()=0
 Denies the user permission to start raw live stream and then destroys this instance.
 

Detailed Description

Process after the host receives the requirement from the user to give the raw live stream privilege.

Definition at line 55 of file meeting_live_stream_interface.h.

Constructor & Destructor Documentation

◆ ~IRequestRawLiveStreamPrivilegeHandler()

virtual IRequestRawLiveStreamPrivilegeHandler::~IRequestRawLiveStreamPrivilegeHandler ( )
inlinevirtual

Definition at line 58 of file meeting_live_stream_interface.h.

58{};

Member Function Documentation

◆ DenyRawLiveStreamPrivilege()

virtual SDKError IRequestRawLiveStreamPrivilegeHandler::DenyRawLiveStreamPrivilege ( )
pure virtual

Denies the user permission to start raw live stream and then destroys this instance.

Returns
If the function succeeds, the return value is SDKERR_SUCCESS. Otherwise, this function returns an error.

◆ GetBroadcastName()

virtual const zchar_t * IRequestRawLiveStreamPrivilegeHandler::GetBroadcastName ( )
pure virtual

Gets the broadcast name.

Returns
If the function succeeds, it returns the broadcast name. Otherwise, this function fails and returns nullptr.

◆ GetBroadcastUrl()

virtual const zchar_t * IRequestRawLiveStreamPrivilegeHandler::GetBroadcastUrl ( )
pure virtual

Gets the broadcast URL.

Returns
If the function succeeds, it returns the broadcast URL. Otherwise, this function fails and returns nullptr.

◆ GetRequesterId()

virtual unsigned int IRequestRawLiveStreamPrivilegeHandler::GetRequesterId ( )
pure virtual

Gets the user ID who requested privilege.

Returns
If the function succeeds, it returns the user ID. Otherwise, this function returns 0.

◆ GetRequesterName()

virtual const zchar_t * IRequestRawLiveStreamPrivilegeHandler::GetRequesterName ( )
pure virtual

Gets the user name who requested privileges.

Returns
If the function succeeds, it returns the user name. Otherwise, this function fails and returns nullptr.

◆ GetRequestId()

virtual const zchar_t * IRequestRawLiveStreamPrivilegeHandler::GetRequestId ( )
pure virtual

Gets the request ID.

Returns
If the function succeeds, it returns the request ID. Otherwise, this function fails and returns nullptr.

◆ GrantRawLiveStreamPrivilege()

virtual SDKError IRequestRawLiveStreamPrivilegeHandler::GrantRawLiveStreamPrivilege ( )
pure virtual

Grants the user permission to start raw live stream and then destroys this instance.

Returns
If the function succeeds, the return value is SDKERR_SUCCESS. Otherwise, this function returns an error.