Photon Voice v2.31

Public Member Functions | Public Attributes | Protected Member Functions | Properties | List of all members
WebRtcAudioDsp Class Reference

Inherits VoiceComponent.

Public Member Functions

bool SetOrSwitchAudioListener (AudioListener listener)
 Set the AudioListener to be used with this WebRtcAudioDsp. Needed for Acoustic Echo Cancellation. More...
 
bool SetOrSwitchAudioOutCapture (AudioOutCapture capture)
 Set the AudioOutCapture to be used with this WebRtcAudioDsp. Needed for Acoustic Echo Cancellation. More...
 

Public Attributes

bool AutoRestartOnAudioChannelsMismatch = true
 
bool AECMobileComfortNoise
 

Protected Member Functions

override void Awake ()
 

Properties

bool AEC [get, set]
 
bool AECMobile [get, set]
 
bool AecHighPass [get, set]
 
int ReverseStreamDelayMs [get, set]
 
bool NoiseSuppression [get, set]
 
bool HighPass [get, set]
 
bool Bypass [get, set]
 
bool AGC [get, set]
 
int AgcCompressionGain [get, set]
 
bool VAD [get, set]
 
bool IsInitialized [get]
 
bool AecOnlyWhenEnabled [get, set]
 
- Properties inherited from VoiceComponent
VoiceLogger Logger [get, protected set]
 
DebugLevel LogLevel [get, set]
 
bool IgnoreGlobalLogLevel [get, set]
 
static string CurrentPlatform [get]
 
- Properties inherited from ILoggableDependent
bool IgnoreGlobalLogLevel [get, set]
 
- Properties inherited from ILoggable
DebugLevel LogLevel [get, set]
 
VoiceLogger Logger [get]
 

Additional Inherited Members

- Protected Attributes inherited from VoiceComponent
DebugLevel logLevel = DebugLevel.WARNING
 

Member Function Documentation

◆ SetOrSwitchAudioListener()

bool SetOrSwitchAudioListener ( AudioListener  listener)

Set the AudioListener to be used with this WebRtcAudioDsp. Needed for Acoustic Echo Cancellation.

Parameters
listenerThe audioListener to be used
Returns
Success or failure

◆ SetOrSwitchAudioOutCapture()

bool SetOrSwitchAudioOutCapture ( AudioOutCapture  capture)

Set the AudioOutCapture to be used with this WebRtcAudioDsp. Needed for Acoustic Echo Cancellation.

Parameters
captureThe audioOutCapture to be used
Returns
Success or failure