Posted On: July 31, 2017
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.
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.
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.
Documentation has been corrected. To view the update, click here.