Streaming HTTP audio feed on Alexa

≯℡__Kan透↙ 提交于 2019-12-24 03:22:08

问题


Accordingly to https://developer.amazon.com/public/solutions/alexa/alexa-skills-kit/docs/custom-audioplayer-interface-reference:

The audio file must be hosted at an Internet-accessible HTTPS endpoint. HTTPS is required, and the domain hosting the files must present a valid, trusted SSL certificate.

I want to build a skill to stream a feed from http (NOT https) endpoint. How do I do this?

There are other skills (like TuneIn radio) which seem to stream http feeds. Unless they proxy them, which would be a significant overhead.


回答1:


It turned out Alexa can play HTTP audio feeds. I just had too put those as references inside of .m3u file, which is served by HTTPS protocol.



来源:https://stackoverflow.com/questions/42775947/streaming-http-audio-feed-on-alexa

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!