Windows SDK API Reference
Loading...
Searching...
No Matches
meeting_live_stream_interface.h
Go to the documentation of this file.
1
6#ifndef _MEETING_LIVE_STREAM_INTERFACE_H_
7#define _MEETING_LIVE_STREAM_INTERFACE_H_
8#include "zoom_sdk_def.h"
9
11
17{
24};
25
31{
32 unsigned int userId;
33 const wchar_t* broadcastUrl;
35 {
36 userId = 0;
37 broadcastUrl = NULL;
38 }
39};
40
43{
44public:
48 virtual const wchar_t* GetRequestId() = 0;
49
52 virtual unsigned int GetRequesterId() = 0;
53
56 virtual const wchar_t* GetRequesterName() = 0;
57
60 virtual const wchar_t* GetBroadcastUrl() = 0;
61
64
67};
68
72{
73public:
77
80 virtual void onRawLiveStreamPrivilegeChanged(bool bHasPrivilege) = 0;
81
84
88 virtual void onUserRawLiveStreamPrivilegeChanged(unsigned int userid, bool bHasPrivilege) = 0;
89
93
97};
98
102{
103public:
106 virtual const wchar_t* GetLiveStreamURL() = 0;
107
110 virtual const wchar_t* GetLiveStreamURLDescription() = 0;
112};
113
117{
118public:
124
129
135
143 virtual SDKError StartLiveStreamWithSteamingURL(const wchar_t* streamingURL, const wchar_t* streamingKey, const wchar_t* broadcastURL) = 0;
144
149
154
159
162 virtual bool IsRawLiveStreamSupported() = 0;
163
168
173 virtual SDKError RequestRawLiveStream(const wchar_t* broadcastURL) = 0;
174
179 virtual SDKError StartRawLiveStream(const wchar_t* broadcastURL) = 0;
180
185
189 virtual SDKError RemoveRawLiveStreamPrivilege(unsigned int userid) = 0;
190
194
198};
200#endif
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 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 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.
ZOOM windows SDK Common Definition File.
#define END_ZOOM_SDK_NAMESPACE
Definition: zoom_sdk_def.h:21
#define BEGIN_ZOOM_SDK_NAMESPACE
Definition: zoom_sdk_def.h:20
SDKError
SDK error types. Here are more detailed structural descriptions.
Definition: zoom_sdk_def.h:30