Hi everyone, I have some doubts about the media status in Google Action builder.
In jovo I set the stop in app.js like this:
‘GoogleAction.Stopped’ (){
var progress = this. $ googleAction. $ mediaResponse.getProgress ()
console.log (‘Progress:’ + progress);
console.log (‘GoogleAction.Stopped’);
this.tell (‘Goodbye’);
},
In google action builder I have set the system intent “MEDIA_STATUS_STOPPED”: set as global intent and which calls the webhook.
But when the user says STOP the action replies “Goodbye” but the audio continues to go. To stop it, I have to say STOP again.
How can i set the media staus to give me the progress information but work properly?
Thanks!