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: |
Start live stream. | |
(ZMVideoSDKErrors) | - stopLiveStream |
Stop live stream. | |
(ZMVideoSDKErrors) | - canStartLiveStream |
Determine if can start living stream. | |
(ZMVideoSDKErrors) | - startLiveStreamWithParams: |
Start a live stream of the current session using ZMVideoSDKLiveStreamParams. | |
(ZMVideoSDKLiveStreamSetting *_Nullable) | - getCurrentLiveStreamSetting |
Get the current live stream settings for the current session. | |
(ZMVideoSDKErrors) | - updateLiveStreamSetting: |
Update the live stream settings for the current session. | |
(BOOL) | - canGetOrUpdateLiveStreamSetting |
Check 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 |
Check if the current user can get or update live stream settings.
- (ZMVideoSDKErrors) canStartLiveStream |
Determine if can start living stream.
- (ZMVideoSDKLiveStreamSetting *_Nullable) getCurrentLiveStreamSetting |
Get the current live stream settings for the current session.
- (ZMVideoSDKErrors) startLiveStream: | (NSString *) | streamUrl | |
broadcastUrl: | (NSString *) | url | |
liveStreamKey: | (NSString *) | key |
Start live stream.
streamUrl | The live stream url. |
url | The live stream broadcast url. |
key | The live stream key. |
ZMVideoSDKErrors_Success
. - (ZMVideoSDKErrors) startLiveStreamWithParams: | (ZMVideoSDKLiveStreamParams *) | param |
Start a live stream of the current session using ZMVideoSDKLiveStreamParams.
param | The live stream parameters containing URL, key, broadcast URL and settings. |
- (ZMVideoSDKErrors) stopLiveStream |
Stop live stream.
- (ZMVideoSDKErrors) updateLiveStreamSetting: | (ZMVideoSDKLiveStreamSetting *) | setting |
Update the live stream settings for the current session.
setting | The new live stream settings to apply. |