6#ifndef _MEETING_LIVE_STREAM_INTERFACE_H_
7#define _MEETING_LIVE_STREAM_INTERFACE_H_
Live stream meeting controller interface.
virtual SDKError RemoveRawLiveStreamPrivilege(unsigned int userid)=0
Remove the raw live stream privilege.
virtual SDKError StartLiveStream(IMeetingLiveStreamItem *item_)=0
Start live streaming.
virtual SDKError StartRawLiveStreaming(const zchar_t *broadcastURL, const zchar_t *broadcastName)=0
Start raw live streaming.
virtual IList< IMeetingLiveStreamItem * > * GetSupportLiveStreamURL()=0
Get 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
Send a request to enable the SDK to start a raw live stream.
virtual SDKError CanStartLiveStream()=0
Determine if it is able to start live streaming.
virtual IList< unsigned int > * GetRawLiveStreamPrivilegeUserList()=0
Get the list of users'IDs who have raw live stream privileges.
virtual IList< IMeetingLiveStreamItem * > * GetSupportLiveStreamItems()=0
Get the list of live stream information items in the current meeting.
virtual SDKError StopLiveStream()=0
Stop live streaming.
virtual bool IsRawLiveStreamSupported()=0
Query Whether the meeting supports raw live streams.
virtual SDKError SetEvent(IMeetingLiveStreamCtrlEvent *pEvent)=0
Set live stream meeting callback event handler.
virtual IList< RawLiveStreamInfo > * GetRawLiveStreamingInfoList()=0
Get a list of current active raw live streams.
virtual bool CanEnableLiveStreamReminder()=0
Check 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
Start live streaming.
virtual bool IsLiveStreamReminderEnabled()=0
Check if the live stream reminder is enabled. When the live stream reminder is enabled,...
virtual LiveStreamStatus GetCurrentLiveStreamStatus()=0
Get live stream status of current meeting.
virtual SDKError StopRawLiveStream()=0
Stop raw live streaming.
virtual SDKError EnableLiveStreamReminder(bool enable)=0
Enable or disable the live stream reminder.
virtual IMeetingLiveStreamItem * GetCurrentLiveStreamItem()=0
Get 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
Get URL of the live stream meeting.
virtual const zchar_t * GetLiveStreamViewerURL()=0
Get the viewer URL of the live stream meeting.
virtual ~IMeetingLiveStreamItem()
virtual const zchar_t * GetLiveStreamURLDescription()=0
Get the descriptions 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
Get the user name who requested privileges.
virtual ~IRequestRawLiveStreamPrivilegeHandler()
virtual const zchar_t * GetBroadcastName()=0
Get the broadcast name.
virtual const zchar_t * GetBroadcastUrl()=0
Get the broadcast URL.
virtual unsigned int GetRequesterId()=0
Get the user ID who requested privilege.
virtual const zchar_t * GetRequestId()=0
Get the request ID.
virtual SDKError GrantRawLiveStreamPrivilege()=0
Allows the user to start raw live stream and finally self-destroy.
virtual SDKError DenyRawLiveStreamPrivilege()=0
Denies the user permission to start raw live stream and finally self-destroy.
LiveStreamStatus
Status of live stream. Here are more detailed structural descriptions.
@ LiveStreamStatus_InProgress
In progress.
@ LiveStreamStatus_Start_Failed
Failed to start live streaming.
@ LiveStreamStatus_Start_Failed_Timeout
Connect timeout.
@ LiveStreamStatus_None
Only for initialization.
@ LiveStreamStatus_Ended
Live stream ends.
@ LiveStreamStatus_Connecting
Be connecting.
information of raw live stream info. Here are more detailed structural descriptions....
unsigned int userId
User ID.
const zchar_t * broadcastName
Broadcast Name.
const zchar_t * broadcastUrl
Broadcast URL.
ZOOM windows SDK Common Definition File.
#define END_ZOOM_SDK_NAMESPACE
#define BEGIN_ZOOM_SDK_NAMESPACE
SDKError
Enumeration of common errors of SDK.