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

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

#import <MobileRTCRequestRawLiveStreamPrivilegeHandler.h>

Inherits NSObject.

Instance Methods

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

Detailed Description

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

Definition at line 14 of file MobileRTCRequestRawLiveStreamPrivilegeHandler.h.

Method Documentation

◆ denyRawLiveStreamPrivilege

- (BOOL) denyRawLiveStreamPrivilege

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

◆ getBroadcastUrl

- (NSString *) getBroadcastUrl

Get the broadcast Url.

Returns
If the function succeeds, the return value is the broadcast url.

◆ getRequesterId

- (NSUInteger) getRequesterId

Get the user ID who requested privilege.

Returns
If the function succeeds, the return value is the user ID. Otherwise, this returns 0.

◆ getRequesterName

- (NSString *) getRequesterName

Get the user name who requested privilege.

Returns
If the function succeeds, the return value is the user name.

◆ getRequestId

- (NSString *) getRequestId

Get the request ID.

Returns
If the function succeeds, the return value is the request ID.

◆ grantRawLiveStreamPrivilege

- (BOOL) grantRawLiveStreamPrivilege

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