Video SDK for Windows API Reference
Loading...
Searching...
No Matches
zoom_video_sdk_broadcast_streaming_viewer_interface.h
Go to the documentation of this file.
1
6
7#ifndef _ZOOM_VIDEO_SDK_BROADCAST_STREAMING_VIEWER_INTERFACE_H_
8#define _ZOOM_VIDEO_SDK_BROADCAST_STREAMING_VIEWER_INTERFACE_H_
13
15
42
47{
49 const zchar_t* token;
50
53
56
58 {
59 token = nullptr;
60 channelID = nullptr;
61 userName = nullptr;
62 }
63};
64
80
96
102{
103public:
105
112 virtual void onStreamingChatMessageReceived(const zchar_t* senderName, const zchar_t* content, bool isSelfSend) = 0;
113
119
124 virtual void onStreamingLiveTranscriptionMsgReceived(const zchar_t* content) = 0;
125};
126
228
230#endif
The audio raw data handler interface.
Audio callback interface for receiving broadcast streaming audio data.
virtual void onAudioRawDataReceived(AudioRawData *pAudioRawDataObj)=0
Called when subscribed audio data is received.
Video callback interface for receiving broadcast streaming video data.
virtual void onVideoFrameReceived(YUVRawDataI420 *pRawDataObj)=0
Called when subscribed video data is received.
Delegate interface for receiving broadcast streaming viewer interactive callbacks.
virtual void onStreamingEmojiReactionReceived(ZoomVideoSDKEmojiReactionType type)=0
Callback event when an emoji reaction is received from the broadcast stream.
virtual void onStreamingLiveTranscriptionMsgReceived(const zchar_t *content)=0
Callback event when a live transcription message is received from the broadcast stream.
virtual void onStreamingChatMessageReceived(const zchar_t *senderName, const zchar_t *content, bool isSelfSend)=0
Callback event when a chat message is received from the broadcast stream.
Broadcast streaming viewer interface for viewing broadcast streams.
virtual ZoomVideoSDKErrors subscribeVideo(ZoomVideoSDKResolution resolution, IZoomVideoSDKBroadcastStreamingVideoCallback *pCallback)=0
Subscribes to streaming video.
virtual ZoomVideoSDKErrors sendChatToAll(const zchar_t *content)=0
Sends a chat message to all participants in the broadcast stream.
virtual ZoomVideoSDKErrors joinStreaming(ZoomVideoSDKSteamingJoinContext &joinContext)=0
Joins broadcast streaming asynchronously. Result is notified via the callback 'onStreamingJoinStatusC...
virtual ZoomVideoSDKErrors unSubscribeAudio()=0
Unsubscribe from streaming audio raw data.
virtual bool canSubscribeTranslationLanguage()=0
Determines whether the viewer can subscribe to a translation language for live transcription.
virtual ZoomVideoSDKErrors leaveStreaming()=0
Leaves broadcast streaming asynchronously. Result is notified via the callback 'onStreamingJoinStatus...
virtual ZoomVideoSDKErrors subscribeTranslationLanguage(ZoomVideoSDKBroadcastStreamingTranslationLanguage language)=0
Subscribes to a translation language for live transcription.
virtual ZoomVideoSDKErrors unsubscribeTranslationLanguage()=0
Unsubscribes from the currently subscribed translation language for live transcription.
virtual ZoomVideoSDKErrors sendEmojiReaction(ZoomVideoSDKEmojiReactionType type)=0
Sends an emoji reaction to all participants in the broadcast stream.
virtual ZoomVideoSDKStreamingJoinStatus getStreamingJoinStatus()=0
Gets the current streaming join status.
virtual void removeListener(IZoomVideoSDKBroadcastStreamingViewerDelegate *pListener)=0
Removes a listener for broadcast streaming viewer interactive callbacks.
virtual ZoomVideoSDKErrors subscribeAudio(IZoomVideoSDKBroadcastStreamingAudioCallback *pCallback)=0
Subscribes to streaming audio.
virtual void addListener(IZoomVideoSDKBroadcastStreamingViewerDelegate *pListener)=0
Adds a listener for broadcast streaming viewer interactive callbacks.
virtual ZoomVideoSDKErrors unSubscribeVideo(IZoomVideoSDKBroadcastStreamingVideoCallback *pCallback)=0
Unsubscribe from streaming video raw data.
The YUV raw data handler interface.
ZOOM SDK Raw Data Common Definition File.
ZoomVideoSDKStreamingJoinStatus
Streaming join status enumeration.
Zoom Video SDK Common Definition File.
ZoomVideoSDKEmojiReactionType
Enumeration of emoji reaction types in Zoom Video SDK.
#define BEGIN_ZOOM_VIDEO_SDK_NAMESPACE
#define END_ZOOM_VIDEO_SDK_NAMESPACE
ZoomVideoSDKBroadcastStreamingTranslationLanguage
Enumeration of supported translation languages for broadcast streaming live transcription.
ZoomVideoSDKErrors
Enumeration of common Zoom Video SDK errors.
Vector container interface.