Google Action should play radio stream

后端 未结 3 1119
孤独总比滥情好
孤独总比滥情好 2021-01-14 10:51

I need to develop a Google Action which streams an audio/radio stream.

i thought about media response. But the documentation says: \"Audio for playback must be in a

相关标签:
3条回答
  • 2021-01-14 11:26

    Google Actions do not currently support live audio streaming. I'm in contact with them but it seems they have no ETA to support this.

    0 讨论(0)
  • 2021-01-14 11:34

    I was successful doing so with an mp3 live stream:

    NPR: https://npr-ice.streamguys1.com/live.mp3?ck=1597372625378

    but not with mpd

    BBC test stream: https://rdmedia.bbc.co.uk/dash/ondemand/testcard/1/client_manifest-audio.mpd

    or with the HLS that my company uses ( .m3u8, can't publish the link publicly )

    Note: added links as text/code since I'm not sure whether their companies policies are cool with them being indexed.

    0 讨论(0)
  • 2021-01-14 11:41

    The only ways to do this currently:

    • Stream it in chunks of MP3 files, using the callback at the end of streaming to stream the next chunk
    • Getting listed on TuneIn, Radio.com or iHeartRadio. From observation, Baden FM seems to be using TuneIn
    • Through an App Action
    • Use a Web site link that starts streaming via BrowseCarousel or Button

    Last 2 options are not helpful if you're going after non-browser-enabled devices.

    Also saw this thread which has some insight on MP3 size/duration: How can I tell Actions on Google to stream audio?

    0 讨论(0)
提交回复
热议问题