【发布时间】:2017-07-16 03:01:51
【问题描述】:
我已经在这个问题上撞了 2 天,并将发布解决方案,希望它对过去的某人有所帮助。我创建了一个 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"
}
【问题讨论】:
标签: streaming audio-streaming alexa alexa-skills-kit