7#ifndef _ZOOM_VIDEO_SDK_BROADCAST_STREAMING_VIEWER_INTERFACE_H_
8#define _ZOOM_VIDEO_SDK_BROADCAST_STREAMING_VIEWER_INTERFACE_H_
The audio raw data handler interface.
Audio callback interface for receiving broadcast streaming audio data.
virtual ~IZoomVideoSDKBroadcastStreamingAudioCallback()
virtual void onAudioRawDataReceived(AudioRawData *pAudioRawDataObj)=0
Called when subscribed audio data is received.
Video callback interface for receiving broadcast streaming video data.
virtual ~IZoomVideoSDKBroadcastStreamingVideoCallback()
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.
virtual ~IZoomVideoSDKBroadcastStreamingViewerDelegate()
Broadcast streaming viewer interface for viewing broadcast streams.
virtual ZoomVideoSDKErrors subscribeVideo(ZoomVideoSDKResolution resolution, IZoomVideoSDKBroadcastStreamingVideoCallback *pCallback)=0
Subscribes to streaming video.
virtual ~IZoomVideoSDKBroadcastStreamingViewer()
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.
ZoomVideoSDKSteamingJoinContext()
const zchar_t * channelID
ZOOM SDK Raw Data Common Definition File.
ZoomVideoSDKStreamingJoinStatus
Streaming join status enumeration.
@ ZoomVideoSDKStreamingJoinStatus_Reconnecting
@ ZoomVideoSDKStreamingJoinStatus_Joined
@ ZoomVideoSDKStreamingJoinStatus_None
@ ZoomVideoSDKStreamingJoinStatus_Disconnecting
@ ZoomVideoSDKStreamingJoinStatus_Connecting
@ ZoomVideoSDKStreamingJoinStatus_Left
@ ZoomVideoSDKStreamingJoinStatus_Failed
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.