Live stream helper interface.
More...
#include <zoom_video_sdk_livestream_helper_interface.h>
Live stream helper interface.
Definition at line 16 of file zoom_video_sdk_livestream_helper_interface.h.
◆ canGetOrUpdateLiveStreamSetting()
| virtual bool IZoomVideoSDKLiveStreamHelper::canGetOrUpdateLiveStreamSetting |
( |
| ) |
|
|
pure virtual |
Checks if the current user has permission to get or update live stream settings.
- Returns
- true if the user can get or update live stream settings; otherwise, the method failed.
- Note
- The live stream must be started, and only the user who started the live stream can modify the setting.
◆ canStartLiveStream()
Determin if can start the live stream.
- Returns
- If the function succeeds, the return value is ZoomVideoSDKErrors_Success. Otherwise, this function returns an error.
◆ getCurrentLiveStreamSetting()
Gets the current live stream settings.
- Parameters
-
| setting | The parameter to store the current live stream settings |
- Returns
- If the function succeeds, the return value is ZoomVideoSDKErrors_Success. Otherwise, this function returns an error.
◆ startLiveStream() [1/2]
Start live stream.
- Parameters
-
| streamUrl | The live stream url. |
| key | The live stream key. |
| broadcastUrl | The live stream broadcast url. |
- Returns
- If the function succeeds, the return value is ZoomVideoSDKErrors_Success. Otherwise, this function returns an error.
- Deprecated
- This method is deprecated. Use startLiveStream(const ZoomVideoSDKLiveStreamParams& param) instead.
◆ startLiveStream() [2/2]
Starts a live stream for the current session using the specified parameters. See ZoomVideoSDKLiveStreamParams.
- Parameters
-
| param | The live stream parameters containing stream URL, key, broadcast URL, and settings. |
- Returns
- If the function succeeds, the return value is ZoomVideoSDKErrors_Success. Otherwise, this function returns an error.
◆ stopLiveStream()
Stop live stream.
- Returns
- If the function succeeds, the return value is ZoomVideoSDKErrors_Success. Otherwise, this function returns an error.
◆ updateLiveStreamSetting()
Updates the live stream settings.
- Parameters
-
| setting | The new live stream settings to apply. |
- Returns
- If the function succeeds, the return value is ZoomVideoSDKErrors_Success. Otherwise, this function returns an error.
- Note
- If the same settings as the previous call are passed, this function will return ZoomVideoSDKErrors_Wrong_Usage.