Intel® Collaboration Suite for WebRTC  version 4.3.1
Open WebRTC Toolkit (OWT) Client SDK for Windows*
owt::base::GlobalConfiguration Class Reference

configuration of global using. GlobalConfiguration class of setting for encoded frame and hardware accecleartion configuration. More...

#include <owt/base/globalconfiguration.h>

Static Public Member Functions

static void SetVideoHardwareAccelerationEnabled (bool enabled)
 This function sets hardware acceleration is enabled for video decoding. More...
 
static void SetCustomizedAudioInputEnabled (bool enabled, std::unique_ptr< AudioFrameGeneratorInterface > audio_frame_generator)
 This function sets the audio input to be an instance of AudioFrameGeneratorInterface. More...
 
static void SetCustomizedVideoDecoderEnabled (std::unique_ptr< VideoDecoderInterface > external_video_decoder)
 This function sets the customized video decoder to decode the encoded images. More...
 
static void SetAECEnabled (bool enabled)
 
static void SetAEC3Enabled (bool enabled)
 
static void SetAGCEnabled (bool enabled)
 
static void SetNSEnabled (bool enabled)
 

Detailed Description

configuration of global using. GlobalConfiguration class of setting for encoded frame and hardware accecleartion configuration.

Member Function Documentation

◆ SetAEC3Enabled()

static void owt::base::GlobalConfiguration::SetAEC3Enabled ( bool  enabled)
inlinestatic

This function disables/enables auto echo cancellation 3.

When it is enabled, SDK will turn on AEC3 functionality.

Parameters
enabledAEC3 is enabled or not.

◆ SetAECEnabled()

static void owt::base::GlobalConfiguration::SetAECEnabled ( bool  enabled)
inlinestatic

This function disables/enables auto echo cancellation.

When it is enabled, SDK will turn on AEC functionality.

Parameters
enabledAEC is enabled or not.

◆ SetAGCEnabled()

static void owt::base::GlobalConfiguration::SetAGCEnabled ( bool  enabled)
inlinestatic

This function disables/enables auto gain control.

When it is enabled, SDK will turn on AGC functionality.

Parameters
enabledAGC is enabled or not.

◆ SetCustomizedAudioInputEnabled()

static void owt::base::GlobalConfiguration::SetCustomizedAudioInputEnabled ( bool  enabled,
std::unique_ptr< AudioFrameGeneratorInterface audio_frame_generator 
)
inlinestatic

This function sets the audio input to be an instance of AudioFrameGeneratorInterface.

When it is enabled, SDK will not capture audio from mic. This means you cannot create LocalStream other than LocalCustomizedStream.

Parameters
enabledCustomized audio input is enabled or not.
audio_frame_generatorAn implementation which feeds audio frames to SDK.

◆ SetCustomizedVideoDecoderEnabled()

static void owt::base::GlobalConfiguration::SetCustomizedVideoDecoderEnabled ( std::unique_ptr< VideoDecoderInterface external_video_decoder)
inlinestatic

This function sets the customized video decoder to decode the encoded images.

Parameters
Customizedvideo decoder

◆ SetNSEnabled()

static void owt::base::GlobalConfiguration::SetNSEnabled ( bool  enabled)
inlinestatic

This function disables/enables noise suppression.

When it is enabled, SDK will turn on NS functionality.

Parameters
enabledNS is enabled or not.

◆ SetVideoHardwareAccelerationEnabled()

static void owt::base::GlobalConfiguration::SetVideoHardwareAccelerationEnabled ( bool  enabled)
inlinestatic

This function sets hardware acceleration is enabled for video decoding.

Parameters
enabledEnbale video decoding with hardware acceleration or not.