|
Video SDK for MacOS API Reference
|
Helper class for managing outgoing live stream. More...
#include <ZMVideoSDKLiveStreamHelper.h>
Inherits NSObject.
Instance Methods | |
| (ZMVideoSDKErrors) | - startLiveStream:broadcastUrl:liveStreamKey: |
| Starts live stream. | |
| (ZMVideoSDKErrors) | - stopLiveStream |
| Stops live stream. | |
| (ZMVideoSDKErrors) | - canStartLiveStream |
| Determines if can start living stream. | |
| (ZMVideoSDKErrors) | - startLiveStreamWithParams: |
| Starts a live stream of the current session using ZMVideoSDKLiveStreamParams. | |
| (ZMVideoSDKLiveStreamSetting *_Nullable) | - getCurrentLiveStreamSetting |
| Gets the current live stream settings for the current session. | |
| (ZMVideoSDKErrors) | - updateLiveStreamSetting: |
| Updates the live stream settings for the current session. | |
| (BOOL) | - canGetOrUpdateLiveStreamSetting |
| Checks if the current user can get or update live stream settings. | |
Helper class for managing outgoing live stream.
Definition at line 61 of file ZMVideoSDKLiveStreamHelper.h.
| - (BOOL) canGetOrUpdateLiveStreamSetting |
Checks if the current user can get or update live stream settings.
| - (ZMVideoSDKErrors) canStartLiveStream |
Determines if can start living stream.
| - (ZMVideoSDKLiveStreamSetting *_Nullable) getCurrentLiveStreamSetting |
Gets the current live stream settings for the current session.
| - (ZMVideoSDKErrors) startLiveStream: | (NSString *) | streamUrl | |
| broadcastUrl: | (NSString *) | url | |
| liveStreamKey: | (NSString *) | key |
Starts live stream.
| streamUrl | The live stream url. |
| url | The live stream broadcast url. |
| key | The live stream key. |
ZMVideoSDKErrors_Success. Otherwise, this function returns an error. | - (ZMVideoSDKErrors) startLiveStreamWithParams: | (ZMVideoSDKLiveStreamParams *) | param |
Starts a live stream of the current session using ZMVideoSDKLiveStreamParams.
| param | The live stream parameters containing URL, key, broadcast URL and settings. |
| - (ZMVideoSDKErrors) stopLiveStream |
Stops live stream.
| - (ZMVideoSDKErrors) updateLiveStreamSetting: | (ZMVideoSDKLiveStreamSetting *) | setting |
Updates the live stream settings for the current session.
| setting | The new live stream settings to apply. |