article

erik-amzn avatar image
erik-amzn posted

[ACTION REQUIRED] Update to SpeechRecognizer Documentation

Posted On: July 31, 2017

Affected Document

https://developer.amazon.com/public/solutions/alexa/alexa-voice-service/reference/speechrecognizer#expectspeech

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.

alexa voice serviceannouncement
10 |5000 characters needed characters left characters exceeded

Up to 2 attachments (including images) can be used with a maximum of 512.0 KiB each and 1.0 MiB total.

Article

Contributors

erikhopf contributed to this article