saiAsrSetFetchTimeout

Specifies the length of time that the recognizer waits before fetching the network resources for the media server when the recognizer needs grammar documents.

Prototype

DWORD saiAsrSetFetchTimeout ( SAI_RECOGNIZER_HANDLE recogHd, DWORD value )

Argument

Description

recogHd

Handle associated with a recognizer resource.

value

Timeout interval size in ms.


Return values

Return value

Description

SUCCESS

 

SAIERR_INVALID_PARAMETER

One of the specified arguments is invalid.

SAIERR_UNSUPPORTED_SPEECH_PARAMETER

Recognizer engine does not support the specified parameter.


See also

saiAsrGetFetchTimeout