Interface for managing standard and raw live streams in a meeting.
More...
#include <ZoomSDKLiveStreamHelper.h>
Inherits NSObject.
Interface for managing standard and raw live streams in a meeting.
Definition at line 158 of file ZoomSDKLiveStreamHelper.h.
◆ canEnableLiveStreamReminder
| - (BOOL) canEnableLiveStreamReminder |
|
|
|
Checks if the current user can enable or disable the live stream reminder.
- Returns
- YES if the current user can enable or disable the live stream reminder. Otherwise, NO.
◆ canStartLiveStream
Query if it is able for the user to enable live stream.
- Returns
- If the function succeeds, it returns ZoomSDKError_Success. Otherwise, this function returns an error.
◆ canStartRawLiveStream
Whether if the current user is able to start raw live streaming.
- Returns
- If the current user is able to start raw live streaming, it returns ZoomSDKError_Success. Otherwise, this function returns an error.
◆ enableLiveStreamReminder:
Enables or disable the live stream reminder.
- Parameters
-
| enable | YES to enable the live stream reminder, NO to disable the live stream reminder. |
- Returns
- If the function succeeds, it returns ZoomSDKError_Success. Otherwise, this function returns an error.
◆ getCurrentLiveStreamItem
Gets the current live stream object.
- Returns
- If the function succeeds, it returns the current live stream object. Otherwise, this function fails and returns nil.
◆ getLiveStreamStatus
Gets the status of current live stream.
- Returns
- If the function succeeds, it returns the LiveStreamStatus_InProgress. Otherwise, this function returns an error.
◆ getRawLiveStreamingInfoList
Gets a list of current active raw live streams.
- Returns
- If the function succeeds, it returns a pointer to the NSArray object. Otherwise, this function fails and returns nil.
◆ getRawLiveStreamPrivilegeUserList
| - (NSArray< NSNumber * > *_Nullable) getRawLiveStreamPrivilegeUserList |
|
|
|
Gets the list of users’ IDs who have raw live stream privileges.
- Returns
- If the function succeeds, it returns a pointer to the NSArray object. Otherwise, this function fails and returns nil.
◆ getSupportLiveStreamItem
| - (NSArray *) getSupportLiveStreamItem |
|
|
|
◆ getSupportLiveStreamItems
Gets the list of live stream information items in the current meeting.
- Returns
- If the function succeeds, it returns the the live stream item list. Otherwise, this function fails and returns nil.
◆ isLiveStreamReminderEnabled
| - (BOOL) isLiveStreamReminderEnabled |
|
|
|
Checks if the live stream reminder is enabled. When the live stream reminder is enabled, the new join user is notified that the meeting is at capacity but that they can watch the meeting live stream with the callback ZoomSDKMeetingServiceDelegate::onMeetingFullToWatchLiveStream: when the meeting user has reached the meeting capacity.
- Returns
- YES if the live stream reminder is enabled. Otherwise, NO.
◆ isRawLiveStreamSupported
| - (BOOL) isRawLiveStreamSupported |
|
|
|
Query Whether the meeting supports raw live streams.
- Returns
- Yes if supported, Otherwise, NO.
◆ removeRawLiveStreamPrivilege:
| - (ZoomSDKError) removeRawLiveStreamPrivilege: |
|
(unsigned int) | userID |
|
Removes the raw live stream privilege.
- Parameters
-
| userID | Specify the user's ID whose privilege will be removed. |
- Returns
- If the function succeeds, it returns ZoomSDKError_Success. Otherwise, this function returns an error.
◆ requestRawLiveStreaming:broadcastName:
| - (ZoomSDKError) requestRawLiveStreaming: |
|
(NSString *) | broadcastURL |
| broadcastName: |
|
(NSString *) | broadcastName |
Sends a request to enable the SDK to start a raw live stream.
- Parameters
-
| broadcastURL | The live stream's broadcast URL. |
| broadcastName | The live stream's broadcast name. |
- Returns
- If the function succeeds, it returns ZoomSDKError_Success and the SDK will send the request. Otherwise, this function returns an error and the request will not be sent.
◆ startLiveStream:
Starts a live stream.
- Parameters
-
| item | The item of live stream supported by the SDK. |
- Returns
- If the function succeeds, it returns the ZoomSDKError_Success. Otherwise, this function returns an error.
◆ startLiveStreamByURL:StreamKey:BroadcastURL:
| - (ZoomSDKError) startLiveStreamByURL: |
|
(NSString *) | streamURL |
| StreamKey: |
|
(NSString *) | key |
| BroadcastURL: |
|
(NSString *) | broadcastURL |
Starts a live stream with the URL customized by user.
- Parameters
-
| streamURL | The URL of customized live stream. |
| key | The key of customized stream stream. |
| broadcastURL | Everyone who uses this link can watch the live broadcast. |
- Returns
- If the function succeeds, it returns the ZoomSDKError_Success. Otherwise, this function returns an error.
◆ startRawLiveStreaming:broadcastName:
| - (ZoomSDKError) startRawLiveStreaming: |
|
(NSString *) | broadcastURL |
| broadcastName: |
|
(NSString *) | broadcastName |
Starts raw live streaming.
- Parameters
-
| broadcastURL | The live stream's broadcast URL |
| broadcastName | The live stream's broadcast name. |
- Returns
- If the function succeeds, it returns the ZoomSDKError_Success. Otherwise, this function returns an error.
◆ stopLiveStream
Stops a live stream.
- Returns
- If the function succeeds, it returns the ZoomSDKError_Success. Otherwise, this function returns an error.
◆ stopRawLiveStream
Stops raw live streaming.
- Returns
- If the function succeeds, it returns the ZoomSDKError_Success. Otherwise, this function returns an error.
◆ _delegate
◆ delegate