Closed leogiroux closed 3 years ago
Hey @leogiroux
Not 100% sure, but I think APLA is not supported on non-visual devices like the echo dot 3 (without the clock). Could you post the request json (from the Echo Dot with the clock and the one without the clock)? We could compare the property for the supported interfaces.
Hi @aswetlow !
I've try on the both device and this is the apla directive log on the device that is working :
WORKING DEVICE
{
"version": "1.0",
"response": {
"shouldEndSession": false,
"outputSpeech": {
"type": "SSML",
"ssml": "
NO WORKING DEVICE
{
"version": "1.0",
"response": {
"shouldEndSession": false,
"outputSpeech": {
"type": "SSML",
"ssml": "
So as you can see the directive section is not present, and I have found some article and post that say APLA is available for all alexa devices :/ https://forums.developer.amazon.com/questions/233492/is-apl-supported-on-echo-dot-3rd-gen-which-has-no.html https://developer.amazon.com/en-US/blogs/alexa/alexa-skills-kit/2020/07/apl-for-audio APL for audio is supported on all Alexa devices like Echo devices and third-party devices.
Do you have any idea ? Maybe there is a part in the jovo code that check the compatibility with APL device that block the APLA feature ? Thanks :)
Thanks! Yes, in the meantime I also found the blogpost about APL-A. It's a bug on our side. Working on a fix.
Thanks man ! You are the best :D
I guess this is this function ;)
you merge an APL document which block the APLA for unsupported APL devices.
Nice thanks :) When do you think it's gonna be live ?
Struggling with a few other issues in this release. Will do it tomorrow.
Thanks man !
Fixed. Please run jovo update
It is working thanks for your quick reaction :D
Hi everyone,
I'm using Jovo to develop an alexa skill but I'm facing an issue to execute an
addAplDirective
.Js Code
this.$alexaSkill.addAplDirective({ type: 'Alexa.Presentation.APLA.RenderDocument', token: 'hi', document: require('../apla/documents/testDocument'), datasources: { params: { test: formatSSMLwithBalise(this, 'ceci est un test audio', 'alexa'), }, }, });
Documentmodule.exports = { type: 'APLA', version: '0.8', description: 'This document demonstrates key components used to create audio responses.', mainTemplate: { parameters: [ 'payload', ], item: { type: 'Sequencer', description: 'The Sequencer component plays a series of audio clips one after another.', items: [ { type: 'Speech', contentType: 'SSML', content: '${payload.params.test}', }, { type: 'Audio', source: 'https://www.jovo.tech/audio/LshHeoze-a67e020ead100a4d3818cf35e31c879d.mp3', }, ], }, }, };
On my Echo show 8 everything goes well, I can play text and audio, but on an Echo dot 3 without the clock display nothing happen just a silence during a few seconds, on an Echo dot 3 with the clock display it is working. Even the speech text is not played so I guess It is not the mp3 encoding which is not working.
Do you think that the issue come from the device himself or APLa from the jovo method
addAplDirective
is bugged ? I'm trying to reach Alexa team too.Thanks