Photon C++ Client API
5.0.7.3
|
Interface for an outgoing audio stream. More...
Public Member Functions | |
virtual AudioUtil::IVoiceDetector * | getVoiceDetector (void) const =0 |
The VoiceDetector in use. More... | |
virtual AudioUtil::ILevelMeter * | getLevelMeter (void) const =0 |
The LevelMeter utility in use. More... | |
virtual bool | getIsVoiceDetectorCalibrating (void) const =0 |
If true, voice detector calibration is in progress. More... | |
virtual void | voiceDetectorCalibrate (int durationMs)=0 |
Trigger voice detector calibration process. More... | |
Interface for an outgoing audio stream.
A LocalVoice always brings a LevelMeter and a VoiceDetector, which you can access using this interface.
|
pure virtual |
The VoiceDetector in use.
Use it to enable or disable voice detector and set its parameters.
Implemented in LocalVoiceAudioDummy, and LocalVoiceAudio< T >.
|
pure virtual |
The LevelMeter utility in use.
Implemented in LocalVoiceAudioDummy, and LocalVoiceAudio< T >.
|
pure virtual |
If true, voice detector calibration is in progress.
Implemented in LocalVoiceAudioDummy, and LocalVoiceAudio< T >.
|
pure virtual |
Trigger voice detector calibration process.
While calibrating, keep silence. Voice detector sets threshold based on measured background noise level.
durationMs | Duration of calibration (in milliseconds). |
Implemented in LocalVoiceAudioDummy, and LocalVoiceAudio< T >.