AudioHeaderTimeout Property

AudioHeaderTimeout Property

Gets and sets the amount of time that Speech Engine Services (SES) waits for the receipt of a data transfer header.

obj.AudioHeaderTimeout = integer

Part

Description

obj

An instance of the SES class.

integer

An unsigned integer that specifies the maximum number of seconds that SES waits for the data transfer header on a specific audio connection after the connection has completed.

Qualifiers

Qualifier

Value

Description

Registry

True

If True, this property value is read from the Registry.

Restart

False

If False, changes to this property take effect without requiring the service to restart.

DefaultValue

5

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 this property is exceeded, SES drops the audio connection and logs an error. An AudioConnectionTimeout property error on the corresponding recognition or speech output request also occurs. Without the data transfer header it is not possible to process the connection.

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 value.
WScript.Echo ss.AudioHeaderTimeout

' Set the property value.
ss.AudioHeaderTimeout = 5

' Update the class instance in WMI.
ss.Put_

Member Of

SES class