youtube – 是否可以通过API创建新的环聊广播/流媒体?

是否可以直接从API初始化新的环聊广播/流媒体?我正在尝试在我的网站的直播系统中使用环聊直播,但我没有在YouTube Live API中看到任何允许通过环聊直播创建流的API方法(看起来它需要自定义视频源).如果无法做到这一点,是否有办法使用Google按钮初始化环聊直播,然后将其实时嵌入网页(没有预先定义的流)?

我知道有像OBS这样的实时流媒体协议,但显然在服务器上非常密集.在这个特定情况下使用谷歌的大型基础设施更方便(我不能过多谈论).

最佳答案 Google Hangouts API与YouTube直播API分开.

环聊API文档可用于here.

从您的问题来看,听起来您特别希望使用Google的Google+ Hangout button.

来自文档:

The Hangout button lets you launch a Google+ Hangout directly from
your site. When you use the button, you can set up the Hangout in a
variety of configurations. For example, you can specify Hangout apps
that launch along with the Hangout and setup the Hangout as a regular
Hangout or a Hangout On Air.

完整的On-Air API参考here.

点赞