I am currently building an Alexa app and have it pretty much ready. I am just having a small issues when it comes to trying to stream multiple audio files in one request.
Right now, every time the user makes a request the app return a single audio file inside the res.directives
array. When this audio file has almost finished streaming, and my app gets the AudioPlayer.PlaybackNearlyFinished
request, I send the next audio file to stream in the same way. Is it possible I can just send all the audio files with the first request, so the device does not have to keep fetching the next audio file?
res.directives
is an array, so I presume this is possible, but I cannot find documentation to show how.
FYI asked this question on Amazon DEveloper forum, and got a reply: https://forums.developer.amazon.com/questions/112506/can-directives-object-take-an-array-of-audio-files.html