-
Notifications
You must be signed in to change notification settings - Fork 115
Open
Labels
Description
Hi ,
I am getting different responses in alexa developer service simulator and in your testing utility.
Response in alexa app server testing utility
{
"version": "1.0",
"response": {
"directives": [
{
"type": "AudioPlayer.Play",
"playBehavior": "REPLACE_ALL",
"audioItem": {
"stream": {
"url": "https://songurl",
"token": "123456",
"offsetInMilliseconds": 0
}
}
}
],
"shouldEndSession": true,
"outputSpeech": {
"type": "SSML",
"ssml": "<speak>playing the song shape of you from app</speak>"
},
"card": {
"type": "Simple",
"title": "My Cool Card",
"content": "playing the song shape of you from app"
}
},
"sessionAttributes": {}
}
Response in alexa developer service simulator:
{
"version": "1.0",
"response": {
"outputSpeech": {
"ssml": "<speak>playing the song shape of you from app</speak>",
"type": "SSML"
},
"card": {
"content": "playing the song shape of you from app",
"title": "My Cool Card"
},
"speechletResponse": {
"outputSpeech": {
"ssml": "<speak>playing the song shape of you from app</speak>"
},
"card": {
"content": "playing the song shape of you from app",
"title": "My Cool Card"
},
"directives": [
{
"playBehavior": "REPLACE_ALL",
"audioItem": {
"stream": {
"token": "123456",
"url": "https://songurl",
"offsetInMilliseconds": 0
}
}
},
{
"template": {
"title": "My Cool Card",
"textContent": {
"primaryText": {
"richText": "<font size=\"7\">playing the song shape of you from app</font>"
}
},
"backButtonBehavior": "HIDDEN"
}
}
],
"shouldEndSession": true
}
},
"sessionAttributes": {}
}
why the "type": "AudioPlayer.Play" is not displaying in service simulator. The song is not playing. Only the text is saying by the device. And why "speechletResponse" object is displaying in service simulator. Am i doing anything wrong?. Please let me know the solution. I am facing the issue.