Comment on page
Default Value: 60 seconds
The maximum duration of user speech input. Maximum recording time (as opposed to recognition time) is set with maxtime attribute of the tag. The maxspeechtimeout value can not be less than 2 seconds.
<property name="maxspeechtimeout" value="120s"/>
<record name="myrecording" beep="true">
Please record a message after the beep.
You just recorded the following message:
From this example, “maxspeechtimeout” is set to 120 seconds, which gives the user a maximum duration of 120 seconds for speech input.