Posted On: July 31, 2017
Affected Document
Description of Issue
We have fixed an error in the SpeechRecognizer documentation that may impact your product. The description of the timeoutInMilliseconds parameter for ExpectSpeech inaccurately instructed clients to leave the microphone open for the value provided. The correct use of the timeoutInMilliseconds value is to provide a timeout value for how long a client should wait for the product’s microphone to open before sending an ExpectSpeechTimedOut event.
Customer Impact
If your product uses the timeoutInMilliseconds value to determine how long the microphone will remain open while capturing user speech, your product may prematurely close the microphone during multi-turn voice interactions.
Workaround
If your product is impacted by this issue, update your code so that timeoutInMilliseconds is used to provide a timeout value for how long a client should wait for the product’s microphone to open before sending an ExpectSpeechTimedOut event.
Resolution
Documentation has been corrected. To view the update, click here.