InitialTimeout Property
Gets or sets the InitialTimeout property of the control's internal Reco element. Read/write.
Usage
ASP.NET markup: | <speech:RecordSound InitialTimeout="..." /> |
Get value: | Int = RecordSound.InitialTimeout; |
Set value: | RecordSound.InitialTimeout = Int; |
Data type: | Int |
Required: | No |
Remarks
If InitialTimeout elapses, the Speech Platform raises an onsilence event. An InitialTimeout setting of zero specifies an unlimited time-out.
If the author does not specify a default value of InitialTimeout, the platform defaults to an internal value. The control throws an exception if InitialTimeout is not an integer or is less than zero.
For optimum results, set the sum of the InitialTimeout and BabbleTimeout values to less than or equal to the global MaxTimeout property, or to the RecordSound MaxTimeout if it is set.
The InitialTimeout property mirrors the initialtimeout attribute on the SALT listen element.
Example
<speech:RecordSound runat="server"
ID="RecordSound1"
Beep="True"
Type="audio/wav"
InitialTimeout="2500"
BabbleTimeout="2500"
MaxTimeout="5000"
EndSilence="2000"
StopOnDtmf=DtmfSquare
SavePartialRecord="True"
PlaybackUrlBase="http://www.cpandl.com/playback/"
SavePath="d:\vdirs\playback"
Enabled="True"
>
</speech:RecordSound>
See Also
RecordSound Class | RecordSound Constructor | RecordSound Members | RecordSound Properties | RecordSound Methods | RecordSound Events | RecordSound Remarks