Google Action应该播放广播流 [英] Google Action should play radio stream

查看:93
本文介绍了Google Action应该播放广播流的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我需要开发一个Google Action,它可以流式传输音频/广播流。

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

我想到了媒体响应。
但是文档说:播放的音频必须是格式正确的.mp3文件。不支持实时流式传输。

i thought about media response. But the documentation says: "Audio for playback must be in a correctly formatted .mp3 file. Live streaming is not supported."

文档

有人可以给我一个提示,我必须要做的是流音频流?我发现了一个德国Google动作 baden fm,该动作可以播放他们的广播。

Can someone give me an hint, what i have to do to stream an audio-stream? i found a german google action "baden fm" which streams their radio. But not sure how they do it.

亲切的问候
Stefan

Kind Regards Stefan

推荐答案

当前唯一执行此操作的方法:

The only ways to do this currently:


  • 使用MP3文件末尾的回调将其流化成MP3文件块流式传输以流式传输下一个块

  • 在TuneIn,Radio.com或iHeartRadio上列出。从观察来看,Baden FM似乎正在使用TuneIn

  • 通过应用操作

  • 使用网站链接,该链接开始通过BrowseCarousel或Button进行流式传输

  • 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.

也看到了该线程,它对MP3的大小/持续时间有一定的了解:如何告诉Google的Actions流音频?

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

这篇关于Google Action应该播放广播流的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆