BZAudioRecordControlParams Class Reference
Inherits from | NSObject |
Declared in | BZMediaParams.h |
Overview
This interface describes the parameters that control and stop audio recording .
A BZAudioRecordControlParams object can be created as follows:
BZAudioRecordControlParams* bzAudioRecordControlParams = [[BZAudioRecordControlParams alloc] init];
Swift
let bzAudioRecordControlParams = BZAudioRecordControlParams()
Tasks
-
m_nFileMaxRecordDurationMs
The file max audio recording duration in milliseconds. Audio recording will automatically stop when this duration is reached. Default: 0 for no max duration limit.
-
m_nMaxAudioDurationMs
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.
-
m_nMaxSilencePreSpeechDurationMs
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: BZAudioTimeoutsDisableParams:ADT_MaxSilencePreSpeechDurationDisabled.
-
m_nMaxSilencePostSpeechDurationMs
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: BZAudioTimeoutsDisableParams:ADT_MaxSilencePostSpeechDurationDisabled.
-
m_nMaxSpeechDurationMs
The max speech duration in milliseconds. Audio recording will automatically stop if this duration is reached. Default: BZAudioTimeoutsDisableParams:ADT_MaxSpeechDurationDisabled.
Properties
m_nFileMaxRecordDurationMs
@property int m_nFileMaxRecordDurationMs
Discussion
The file max audio recording duration in milliseconds. Audio recording will automatically stop when this duration is reached. Default: 0 for no max duration limit.
Declared In
BZMediaParams.h
m_nMaxAudioDurationMs
@property int m_nMaxAudioDurationMs
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
BZMediaParams.h
m_nMaxSilencePostSpeechDurationMs
@property int m_nMaxSilencePostSpeechDurationMs
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: BZAudioTimeoutsDisableParams:ADT_MaxSilencePostSpeechDurationDisabled.
Declared In
BZMediaParams.h
m_nMaxSilencePreSpeechDurationMs
@property int m_nMaxSilencePreSpeechDurationMs
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: BZAudioTimeoutsDisableParams:ADT_MaxSilencePreSpeechDurationDisabled.
Declared In
BZMediaParams.h
m_nMaxSpeechDurationMs
@property int m_nMaxSpeechDurationMs
Discussion
The max speech duration in milliseconds. Audio recording will automatically stop if this duration is reached. Default: BZAudioTimeoutsDisableParams:ADT_MaxSpeechDurationDisabled.
Declared In
BZMediaParams.h