7#import <ZoomSDK/ZoomSDKErrors.h>
42@property(nonatomic, assign, readonly)
unsigned int userID;
62@property(nonatomic, copy, readonly, nullable) NSString *
requestId;
66@property(nonatomic, assign, readonly)
unsigned int requesterId;
74@property(nonatomic, copy, readonly, nullable) NSString *
broadcastUrl;
97@protocol ZoomSDKLiveStreamHelperDelegate <NSObject>
108- (void)onRawLiveStreamPrivilegeChanged:(BOOL)bHasPrivilege;
120- (void)onUserRawLiveStreamPrivilegeChanged:(
unsigned int)userID hasPrivilege:(BOOL)bHasPrivilege;
138- (void)onLiveStreamReminderStatusChanged:(BOOL)enable;
150- (void)onUserThresholdReachedForLiveStream:(
int)percent;
165@property(nonatomic, assign, nullable)id<ZoomSDKLiveStreamHelperDelegate>
delegate;
206- (
ZoomSDKError)startLiveStreamByURL:(NSString*)streamURL StreamKey:(NSString*)key BroadcastURL:(NSString*)broadcastURL;
238- (
ZoomSDKError)requestRawLiveStreaming:(NSString*)broadcastURL broadcastName:(NSString*)broadcastName;
246- (
ZoomSDKError)startRawLiveStreaming:(NSString *)broadcastURL broadcastName:(NSString*)broadcastName;
LiveStreamStatus
Enumeration of live stream status.
ZoomSDKError
Enumeration of common errors of SDK.
Interface for managing standard and raw live streams in a meeting.
ZoomSDKError canStartLiveStream()
Query if it is able for the user to enable live stream.
NSArray< NSNumber * > *_Nullable getRawLiveStreamPrivilegeUserList()
Gets the list of users’ IDs who have raw live stream privileges.
ZoomSDKError stopLiveStream()
Stops a live stream.
ZoomSDKError canStartRawLiveStream()
Whether if the current user is able to start raw live streaming.
ZoomSDKError stopRawLiveStream()
Stops raw live streaming.
BOOL canEnableLiveStreamReminder()
Checks if the current user can enable or disable the live stream reminder.
ZoomSDKLiveStreamItem *_Nullable getCurrentLiveStreamItem()
Gets the current live stream object.
NSArray< ZoomSDKRawLiveStreamInfo * > *_Nullable getRawLiveStreamingInfoList()
Gets a list of current active raw live streams.
BOOL isLiveStreamReminderEnabled()
Checks if the live stream reminder is enabled. When the live stream reminder is enabled,...
NSArray * getSupportLiveStreamItem()
Gets the items of live stream supported by the SDK.
LiveStreamStatus getLiveStreamStatus()
Gets the status of current live stream.
id< ZoomSDKLiveStreamHelperDelegate > _delegate
BOOL isRawLiveStreamSupported()
Query Whether the meeting supports raw live streams.
id< ZoomSDKLiveStreamHelperDelegate > delegate
Sets or get the delegate to receive live stream event callbacks.
NSArray< ZoomSDKLiveStreamItem * > *_Nullable getSupportLiveStreamItems()
Gets the list of live stream information items in the current meeting.
Represents a standard live stream target with URL and description.
NSString * getLiveStreamURL()
Gets live stream URL.
NSString * getLiveStreamURLDescription()
Gets description of live stream URL.
NSString * getLiveStreamViewerURL()
Gets the live's viewer URL stream meeting.
Information of an active raw live stream.
unsigned int userID
Gets the user ID.
NSString * broadcastName
Gets the broadcast name.
NSString * broadcastUrl
Gets the broadcast URL.
Process after the host receives the requirement from the user to give the raw live stream privilege.
ZoomSDKError grantRawLiveStreamPrivilege()
Allows the user to start raw live stream and finally self-destroy.
ZoomSDKError denyRawLiveStreamPrivilege()
Denies the user permission to start raw live stream and finally self-destroy.
NSString * requesterName
Gets the user name who requested privileges.
unsigned int requesterId
Gets the user ID who requested privilege.
NSString * broadcastUrl
Gets the broadcast URL.
NSString * requestId
Gets the request ID.
NSString * broadcastName
Gets the broadcast name.
void onRawLiveStreamPrivilegeRequestTimeout()
Callback event when the current user's request has times out.
void onLiveStreamReminderStatusChangeFailed()
Callback event when the live stream reminder enable status change fails.