I am trying to make a web application usiing AVS based on this library https://github.com/miguelmota/alexa-voice-service.js . The library is old and uses some of the old v1 ways on accessing AVS.
Everything actually works except when I use a custom skill that has a long response. When I go to reply(straight away after the audio plays) the skill session has ended. If I reply a few seconds after player the clip(interrupting it, then it does work and the skill continues).
The time it takes to get the audio from AVS is not a problem as that takes around a second. I understand that I only have 8 seconds before the skill times out, but it seems like those 8 seconds start as soon as the audio is sent rather than when it finishes...the skill also works fine on all official Alexa products. Is it because of the way it has been implemented in the library? Do I need to do the downstream https/2? Any help would be greatly appreciated.