AudioConnectionTimeout Property
AudioConnectionTimeout Property
Gets and sets the maximum amount of time between the time that speech recognition or speech output starts, and the client establishes the audio connection.
obj.AudioConnectionTimeout = integer
Part |
Description |
---|---|
obj |
An instance of the SES class. |
integer |
An unsigned integer that specifies the maximum number of seconds between the time that speech recognition or speech output starts, and the client establishes the audio connection. |
Qualifiers
Qualifier |
Value |
Description |
---|---|---|
Registry |
False |
Changes to this property take effect without requiring the service to restart. |
Restart |
False |
If False, changes to this property take effect without requiring the service to restart. |
DefaultValue |
60 |
Default value for this property. |
MinValue |
1 |
Minimum value for this property. |
Remarks
This property is not exposed in the Microsoft Speech Server (MSS) snap-in for Microsoft Management Console (MMC). Values that do not appear in the MMC are generally more advanced configuration options, changeable only through VBScript. Changes to these settings should be tested in a safe environment before implementing them on live production servers. Changing these settings can cause extensive changes to the entire system.
If an AudioConnectionTimeout time-out occurs, an error is logged and execution of the request fails. An AudioConnectionTimeout error also results if the AudioHeaderTimeout property value is exceeded because it is not possible to process the connection without the data transfer header.
Windows Management Instrumentation (WMI) Script Example
myComputer = "localhost" ' Use a Locator object to connect to WMI. Set locator = CreateObject("WbemScripting.SWbemLocator") Set namespace = locator.ConnectServer(myComputer, "root/MSS") ' Get the SES instance. Set ss = namespace.Get("SES=@") ' Display the current property value. WScript.Echo ss.AudioConnectionTimeout ' Set the property value. ss.AudioConnectionTimeout = 60 ' Update the class instance in WMI. ss.Put_