1
我一直在这个问题上撞了我的头2天,并将解决方案张贴在希望它可以帮助过去的人。我创建了一个Alexa技能来流式播放电台,即使使用示例代码也无法播放它。最后,我只是硬编码发送电线的值,并且它仍然没有工作。下面是我送:Alexa的技能不会播放我的流媒体音频
{
"version": "1.0",
"response": {
"shouldEndSession": 1,
"response": {
"outputSpeech": {
"text": "Playing Somgwriters island",
"type": "PlainText"
},
"directives": [
{
"playBehavior": "REPLACE_ALL",
"audioItem": {
"stream": {
"url": "http://la2-ssd.myautodj.com:8198/stream.mp3",
"token": "",
"offsetInMilliseconds": 0
}
},
"type": "AudioPlayer.Play"
}
],
"reprompt": {},
"card": {}
}
},
"sessionAttributes": {},
"statusCode": "200"
}