Meeting SDK for iOS API Reference
Loading...
Searching...
No Matches
MobileRTCRequestRawLiveStreamPrivilegeHandler Class Reference

A handler that processes after the host receives the requirement from the user to give the raw live stream privilege. More...

#include <MobileRTCRequestRawLiveStreamPrivilegeHandler.h>

Inherits NSObject.

Instance Methods

(NSString *_Nullable) - getRequestId
 Gets the request ID.
 
(NSUInteger) - getRequesterId
 Gets the user ID who requested privilege.
 
(NSString *_Nullable) - getRequesterName
 Gets the user name who requested privilege.
 
(NSString *_Nullable) - getBroadcastUrl
 Gets the broadcast URL.
 
(NSString *_Nullable) - getBroadcastName
 Gets the broadcast name.
 
(BOOL) - grantRawLiveStreamPrivilege
 Allows the user to start raw live stream and finally self-destroys.
 
(BOOL) - denyRawLiveStreamPrivilege
 Denies the user permission to start raw live stream and finally self-destroys.
 

Detailed Description

A handler that processes after the host receives the requirement from the user to give the raw live stream privilege.

Definition at line 12 of file MobileRTCRequestRawLiveStreamPrivilegeHandler.h.

Method Documentation

◆ denyRawLiveStreamPrivilege

- (BOOL) denyRawLiveStreamPrivilege

Denies the user permission to start raw live stream and finally self-destroys.

Returns
YES if the function succeeds. Otherwise, NO.

◆ getBroadcastName

- (NSString *_Nullable) getBroadcastName

Gets the broadcast name.

Returns
If the function succeeds, it returns the broadcast name.

◆ getBroadcastUrl

- (NSString *_Nullable) getBroadcastUrl

Gets the broadcast URL.

Returns
If the function succeeds, it returns the broadcast URL.

◆ getRequesterId

- (NSUInteger) getRequesterId

Gets the user ID who requested privilege.

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

◆ getRequesterName

- (NSString *_Nullable) getRequesterName

Gets the user name who requested privilege.

Returns
If the function succeeds, it returns the user name.

◆ getRequestId

- (NSString *_Nullable) getRequestId

Gets the request ID.

Returns
If the function succeeds, it returns the request ID.

◆ grantRawLiveStreamPrivilege

- (BOOL) grantRawLiveStreamPrivilege

Allows the user to start raw live stream and finally self-destroys.

Returns
YES if the function succeeds. Otherwise, NO.