Meeting SDK for Windows API Reference
Loading...
Searching...
No Matches
rawdata_share_source_helper_interface.h
Go to the documentation of this file.
1
6#ifndef _RAWDATA_SHARE_SOURCE_HELPER_INTERFACE_H_
7#define _RAWDATA_SHARE_SOURCE_HELPER_INTERFACE_H_
8#include "zoom_sdk_def.h"
9
11
13{
14public:
25 virtual SDKError sendShareFrame(char* frameBuffer, int width, int height, int frameLength, FrameDataFormat format = FrameDataFormat_I420_FULL) = 0;
26};
27
29{
30public:
36 virtual void onStartSend(IZoomSDKShareSender* pSender) = 0;
37
41 virtual void onStopSend() = 0;
42};
43
45{
46public:
60 virtual SDKError sendShareAudio(char* data, unsigned int data_length, int sample_rate, ZoomSDKAudioChannel channel) = 0;
61};
62
64{
65public:
71 virtual void onStartSendAudio(IZoomSDKShareAudioSender* pShareAudioSender) = 0;
72
76 virtual void onStopSendAudio() = 0;
77};
78
80{
81public:
83
91 virtual SDKError setExternalShareSource(IZoomSDKShareSource* pShareSource, IZoomSDKShareAudioSource* pShareAudioSource = nullptr) = 0;
92
100};
101
103#endif
virtual SDKError sendShareAudio(char *data, unsigned int data_length, int sample_rate, ZoomSDKAudioChannel channel)=0
Send audio raw data.
virtual void onStopSendAudio()=0
Callback for audio source to stop sending raw data.
virtual void onStartSendAudio(IZoomSDKShareAudioSender *pShareAudioSender)=0
Callback for audio source to start sending raw data.
virtual SDKError sendShareFrame(char *frameBuffer, int width, int height, int frameLength, FrameDataFormat format=FrameDataFormat_I420_FULL)=0
Send a frame of YUV data.
virtual SDKError setSharePureAudioSource(IZoomSDKShareAudioSource *pShareAudioSource)=0
Start sharing pure external audio source.
virtual SDKError setExternalShareSource(IZoomSDKShareSource *pShareSource, IZoomSDKShareAudioSource *pShareAudioSource=nullptr)=0
Start sharing external source.
virtual void onStartSend(IZoomSDKShareSender *pSender)=0
Callback for share source can start send raw data.
virtual void onStopSend()=0
Callback for share source to stop send raw data.
ZOOM windows SDK Common Definition File.
FrameDataFormat
Enumeration of video frame data format.
@ FrameDataFormat_I420_FULL
#define END_ZOOM_SDK_NAMESPACE
ZoomSDKAudioChannel
Enumeration of the audio modes.
#define BEGIN_ZOOM_SDK_NAMESPACE
SDKError
Enumeration of common errors of SDK.