raj10071997 / Alexa-Voice-Service

MIT License
15 stars 10 forks source link

what is the function of "send ping request every 5 minitus? #6

Closed kangshifu closed 7 years ago

kangshifu commented 7 years ago

why should we send ping request to amazon every 5 minitus,and before we sendAudioRequst we must openDownChannel,why?

raj10071997 commented 7 years ago

The answer to both your questions is given in this link - https://developer.amazon.com/public/solutions/alexa/alexa-voice-service/docs/managing-an-http-2-connection#ping-timeout

Read - Downchannel Lifecycle and, Ping and Timeout