Meeting SDK for Linux API Reference
Loading...
Searching...
No Matches
IZoomSDKAudioRawDataHelper Class Referenceabstract

#include <rawdata_audio_helper_interface.h>

Public Member Functions

virtual ~IZoomSDKAudioRawDataHelper ()
virtual SDKError subscribe (IZoomSDKAudioRawDataDelegate *pDelegate, bool bWithInterpreters=false, ZoomSDKSessionSource source=SessionSource_CurrentSession)=0
 Subscribe raw audio data.
virtual SDKError unSubscribe (ZoomSDKSessionSource source=SessionSource_CurrentSession)=0
 Stop receiving raw audio data for one source.
virtual SDKError setExternalAudioSource (IZoomSDKVirtualAudioMicEvent *pSource)=0
 Subscribe audio mic raw data with a callback.

Detailed Description

Definition at line 70 of file rawdata_audio_helper_interface.h.

Constructor & Destructor Documentation

◆ ~IZoomSDKAudioRawDataHelper()

virtual IZoomSDKAudioRawDataHelper::~IZoomSDKAudioRawDataHelper ( )
inlinevirtual

Definition at line 73 of file rawdata_audio_helper_interface.h.

73{}

Member Function Documentation

◆ setExternalAudioSource()

virtual SDKError IZoomSDKAudioRawDataHelper::setExternalAudioSource ( IZoomSDKVirtualAudioMicEvent * pSource)
pure virtual

Subscribe audio mic raw data with a callback.

Parameters
pSource,Callbacksink object.
Returns
If the function succeeds, the return value is SDKERR_SUCCESS. Otherwise, this function returns an error.

◆ subscribe()

virtual SDKError IZoomSDKAudioRawDataHelper::subscribe ( IZoomSDKAudioRawDataDelegate * pDelegate,
bool bWithInterpreters = false,
ZoomSDKSessionSource source = SessionSource_CurrentSession )
pure virtual

Subscribe raw audio data.

Parameters
pDelegateCallback handler. Different source requires a different delegate.
bWithInterpretersIf true, also receive interpreter raw audio.
sourceCurrentSession (default) or MainSession (webinar backstage only).
Note
if bWithInterpreters is true, it will cause your local interpreter related functions to be unavailable.
Returns
If the function succeeds, the return value is SDKERR_SUCCESS. Otherwise fails.

References SessionSource_CurrentSession.

◆ unSubscribe()

virtual SDKError IZoomSDKAudioRawDataHelper::unSubscribe ( ZoomSDKSessionSource source = SessionSource_CurrentSession)
pure virtual

Stop receiving raw audio data for one source.

Parameters
sourceCurrentSession (default) or MainSession. One value per call.
Returns
If the function succeeds, the return value is SDKERR_SUCCESS. Otherwise fails.

References SessionSource_CurrentSession.