Photon Voice: ILocalVoiceAudio Interface Reference

Photon Voice

ILocalVoiceAudio Interface Reference

Interface for an outgoing audio stream. More...

Inherited by LocalVoiceAudio< T >, and LocalVoiceAudioDummy.

Public Member Functions

void VoiceDetectorCalibrate (int durationMs)
 Trigger voice detector calibration process. More...
 

Properties

AudioUtil.IVoiceDetector VoiceDetector [get]
 The VoiceDetector in use. More...
 
AudioUtil.ILevelMeter LevelMeter [get]
 The LevelMeter utility in use. More...
 
bool VoiceDetectorCalibrating [get]
 If true, voice detector calibration is in progress. More...
 

Detailed Description

Interface for an outgoing audio stream.

A LocalVoice always brings a LevelMeter and a VoiceDetector, which you can access using this interface.

Member Function Documentation

void VoiceDetectorCalibrate ( int  durationMs)

Trigger voice detector calibration process.

While calibrating, keep silence. Voice detector sets threshold based on measured backgroud noise level.

Parameters
durationMsDuration of calibration (in milliseconds).

Implemented in LocalVoiceAudioDummy, and LocalVoiceAudio< T >.

Property Documentation

AudioUtil.ILevelMeter LevelMeter
get

The LevelMeter utility in use.

AudioUtil.IVoiceDetector VoiceDetector
get

The VoiceDetector in use.

Use it to enable or disable voice detector and set its parameters.

bool VoiceDetectorCalibrating
get

If true, voice detector calibration is in progress.

Online Documentation  -  Dashboard  -  Support Forum Exit Games GmbH