STAudioRecordControlParams Struct Reference
| Declared in | STMediaParams_doc.h |
Tasks
-
maxAudioDurationMspropertyThe max audio recording duration to record in milliseconds. Audio recording will automatically stop when this duration is reached. Default: 0 for no max duration limit.
-
maxSilencePreSpeechDurationMspropertyThe max silence pre speech duration in milliseconds before speech energy is detected in audio. Audio recording will automatically stop if this duration is reached before speech energy is detected. Default: STAudioTimeoutsDisableParams:ADT_MaxSilencePreSpeechDurationDisabled.
-
maxSilencePostSpeechDurationMspropertyThe max silence post speech duration in milliseconds before speech energy is detected again in audio. Audio recording will automatically stop if this duration is reached before speech energy is detected again. Default: STAudioTimeoutsDisableParams:ADT_MaxSilencePostSpeechDurationDisabled.
-
maxSpeechDurationMspropertyThe max speech duration in milliseconds. Audio recording will automatically stop if this duration is reached. Default: STAudioTimeoutsDisableParams:ADT_MaxSpeechDurationDisabled.
Properties
maxAudioDurationMs
var maxAudioDurationMs: Int32 = STAudioTimeoutsDisableParams.ADT_MaxAudioDurationDisabled
Discussion
The max audio recording duration to record in milliseconds. Audio recording will automatically stop when this duration is reached. Default: 0 for no max duration limit.
Declared In
STMediaParams_doc.h
maxSilencePostSpeechDurationMs
var maxSilencePostSpeechDurationMs: Int32 = STAudioTimeoutsDisableParams.ADT_MaxSilencePostSpeechDurationDisabled
Discussion
The max silence post speech duration in milliseconds before speech energy is detected again in audio. Audio recording will automatically stop if this duration is reached before speech energy is detected again. Default: STAudioTimeoutsDisableParams:ADT_MaxSilencePostSpeechDurationDisabled.
Declared In
STMediaParams_doc.h
maxSilencePreSpeechDurationMs
var maxSilencePreSpeechDurationMs: Int32 = STAudioTimeoutsDisableParams.ADT_MaxSilencePreSpeechDurationDisabled
Discussion
The max silence pre speech duration in milliseconds before speech energy is detected in audio. Audio recording will automatically stop if this duration is reached before speech energy is detected. Default: STAudioTimeoutsDisableParams:ADT_MaxSilencePreSpeechDurationDisabled.
Declared In
STMediaParams_doc.h
maxSpeechDurationMs
var maxSpeechDurationMs: Int32 = STAudioTimeoutsDisableParams.ADT_MaxSpeechDurationDisabled
Discussion
The max speech duration in milliseconds. Audio recording will automatically stop if this duration is reached. Default: STAudioTimeoutsDisableParams:ADT_MaxSpeechDurationDisabled.
Declared In
STMediaParams_doc.h