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 RequestRawLiveStream(const wchar_t *broadcastURL)=0
Send a request to enable the SDK to start a raw live stream.
virtual SDKError StartLiveStream(IMeetingLiveStreamItem *item_)=0
Start live streaming.
virtual SDKError StartRawLiveStream(const wchar_t *broadcastURL)=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 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 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 SDKError StartLiveStreamWithSteamingURL(const wchar_t *streamingURL, const wchar_t *streamingKey, const wchar_t *broadcastURL)=0
Start live streaming.
virtual LiveStreamStatus GetCurrentLiveStreamStatus()=0
Get live stream status of current meeting.
virtual SDKError StopRawLiveStream()=0
Stop raw live streaming.
virtual SDKError CanStartRawLiveStream()=0
Whether if the current user is able to start raw live streaming.
Live stream meeting controller callback event.
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 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 ~IMeetingLiveStreamItem()
virtual const wchar_t * GetLiveStreamURL()=0
Get URL of the live stream meeting.
virtual const wchar_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 ~IRequestRawLiveStreamPrivilegeHandler()
virtual const wchar_t * GetRequesterName()=0
Get the user name who requested privileges.
virtual const wchar_t * GetBroadcastUrl()=0
Get the broadcast URL.
virtual const wchar_t * GetRequestId()=0
Get the request ID.
virtual unsigned int GetRequesterId()=0
Get the user ID who requested privilege.
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....
const wchar_t * broadcastUrl
Broadcast URL.
unsigned int userId
User ID.
ZOOM windows SDK Common Definition File.
#define END_ZOOM_SDK_NAMESPACE
#define BEGIN_ZOOM_SDK_NAMESPACE
SDKError
SDK error types. Here are more detailed structural descriptions.