Meeting SDK for Windows API Reference
Loading...
Searching...
No Matches
meeting_live_stream_interface.h
Go to the documentation of this file.
1
5#ifndef _MEETING_LIVE_STREAM_INTERFACE_H_
6#define _MEETING_LIVE_STREAM_INTERFACE_H_
7#include "zoom_sdk_def.h"
8
10
30
36{
38 unsigned int userId;
44 {
45 userId = 0;
46 broadcastUrl = nullptr;
47 broadcastName = nullptr;
48 }
49};
50
56{
57public:
59
64 virtual const zchar_t* GetRequestId() = 0;
65
70 virtual unsigned int GetRequesterId() = 0;
71
76 virtual const zchar_t* GetRequesterName() = 0;
77
82 virtual const zchar_t* GetBroadcastUrl() = 0;
83
88 virtual const zchar_t* GetBroadcastName() = 0;
89
95
101};
102
108{
109public:
115
120 virtual void onRawLiveStreamPrivilegeChanged(bool bHasPrivilege) = 0;
121
126
132 virtual void onUserRawLiveStreamPrivilegeChanged(unsigned int userid, bool bHasPrivilege) = 0;
133
139
145
150 virtual void onLiveStreamReminderStatusChanged(bool enable) = 0;
151
156
162 virtual void onUserThresholdReachedForLiveStream(int percent) = 0;
163};
164
170{
171public:
176 virtual const zchar_t* GetLiveStreamURL() = 0;
177
183
188 virtual const zchar_t* GetLiveStreamViewerURL() = 0;
189
191};
192
198{
199public:
206
212
219
228 virtual SDKError StartLiveStreamWithSteamingURL(const zchar_t* streamingURL, const zchar_t* streamingKey, const zchar_t* broadcastURL) = 0;
229
235
242
248
254
260
265 virtual bool IsRawLiveStreamSupported() = 0;
266
272
279 virtual SDKError RequestRawLiveStreaming(const zchar_t* broadcastURL, const zchar_t* broadcastName) = 0;
280
287 virtual SDKError StartRawLiveStreaming(const zchar_t* broadcastURL, const zchar_t* broadcastName) = 0;
288
294
300 virtual SDKError RemoveRawLiveStreamPrivilege(unsigned int userid) = 0;
301
307
313
319 virtual bool IsLiveStreamReminderEnabled() = 0;
320
325 virtual bool CanEnableLiveStreamReminder() = 0;
326
332 virtual SDKError EnableLiveStreamReminder(bool enable) = 0;
333};
335#endif
Live stream meeting controller interface.
virtual SDKError RemoveRawLiveStreamPrivilege(unsigned int userid)=0
Remove the raw live stream privilege.
virtual SDKError StartLiveStream(IMeetingLiveStreamItem *item_)=0
Starts live streaming.
virtual SDKError StartRawLiveStreaming(const zchar_t *broadcastURL, const zchar_t *broadcastName)=0
Starts raw live streaming.
virtual IList< IMeetingLiveStreamItem * > * GetSupportLiveStreamURL()=0
Gets the list of URL and associated information used by live streaming in the current meeting.
virtual SDKError RequestRawLiveStreaming(const zchar_t *broadcastURL, const zchar_t *broadcastName)=0
Sends a request to enable the SDK to start a raw live stream.
virtual SDKError CanStartLiveStream()=0
Determines if it is able to start live streaming.
virtual IList< unsigned int > * GetRawLiveStreamPrivilegeUserList()=0
Gets the list of users'IDs who have raw live stream privileges.
virtual IList< IMeetingLiveStreamItem * > * GetSupportLiveStreamItems()=0
Gets the list of live stream information items in the current meeting.
virtual SDKError StopLiveStream()=0
Stops live streaming.
virtual bool IsRawLiveStreamSupported()=0
Query Whether the meeting supports raw live streams.
virtual SDKError SetEvent(IMeetingLiveStreamCtrlEvent *pEvent)=0
Sets live stream meeting callback event handler.
virtual IList< RawLiveStreamInfo > * GetRawLiveStreamingInfoList()=0
Gets a list of current active raw live streams.
virtual bool CanEnableLiveStreamReminder()=0
Checks if the current user can enable/disable the live stream reminder.
virtual SDKError StartLiveStreamWithSteamingURL(const zchar_t *streamingURL, const zchar_t *streamingKey, const zchar_t *broadcastURL)=0
Starts live streaming.
virtual bool IsLiveStreamReminderEnabled()=0
Checks if the live stream reminder is enabled.
virtual LiveStreamStatus GetCurrentLiveStreamStatus()=0
Gets live stream status of current meeting.
virtual SDKError StopRawLiveStream()=0
Stops raw live streaming.
virtual SDKError EnableLiveStreamReminder(bool enable)=0
Enables or disable the live stream reminder.
virtual IMeetingLiveStreamItem * GetCurrentLiveStreamItem()=0
Gets the current live stream object.
virtual SDKError CanStartRawLiveStream()=0
Whether if the current user is able to start raw live streaming.
Live stream meeting controller callback event.
virtual void onLiveStreamReminderStatusChangeFailed()=0
Callback event when the live stream reminder enable status change fails.
virtual void onUserThresholdReachedForLiveStream(int percent)=0
Callback event when the meeting or webinar user has nearly reached the meeting capacity,...
virtual void onRawLiveStreamPrivilegeChanged(bool bHasPrivilege)=0
Callback event when the current user's raw live streaming privilege changes.
virtual void onRawLiveStreamPrivilegeRequestTimeout()=0
Callback event when the current user's request has time out.
virtual void onRawLiveStreamPrivilegeRequested(IRequestRawLiveStreamPrivilegeHandler *handler)=0
Callback event when a user requests raw live streaming privilege.
virtual void onUserRawLiveStreamingStatusChanged(IList< RawLiveStreamInfo > *liveStreamList)=0
Callback event when users start/stop raw live streaming.
virtual void onLiveStreamStatusChange(LiveStreamStatus status)=0
Callback event when live stream status changes.
virtual void onLiveStreamReminderStatusChanged(bool enable)=0
Callback event when the live stream reminder enable status changes.
virtual void onUserRawLiveStreamPrivilegeChanged(unsigned int userid, bool bHasPrivilege)=0
Callback event when another user's raw live streaming privilege has changed.
Live stream of current meeting.
virtual const zchar_t * GetLiveStreamURL()=0
Gets the URL of the live stream meeting.
virtual const zchar_t * GetLiveStreamViewerURL()=0
Gets the viewer URL of the live stream meeting.
virtual const zchar_t * GetLiveStreamURLDescription()=0
Gets the description of live stream.
Process after the host receives the requirement from the user to give the raw live stream privilege.
virtual const zchar_t * GetRequesterName()=0
Gets the user name who requested privileges.
virtual const zchar_t * GetBroadcastName()=0
Gets the broadcast name.
virtual const zchar_t * GetBroadcastUrl()=0
Gets the broadcast URL.
virtual unsigned int GetRequesterId()=0
Gets the user ID who requested privilege.
virtual const zchar_t * GetRequestId()=0
Gets the request ID.
virtual SDKError GrantRawLiveStreamPrivilege()=0
Grants the user permission to start raw live stream and then destroys this instance.
virtual SDKError DenyRawLiveStreamPrivilege()=0
Denies the user permission to start raw live stream and then destroys this instance.
LiveStreamStatus
Enumeration of live stream status. Here are more detailed structural descriptions.
@ LiveStreamStatus_Start_Failed
@ LiveStreamStatus_Start_Failed_Timeout
information of raw live stream info. Here are more detailed structural descriptions....
ZOOM windows SDK Common Definition File.
#define END_ZOOM_SDK_NAMESPACE
#define BEGIN_ZOOM_SDK_NAMESPACE
char zchar_t
SDKError
Enumeration of common errors of SDK.