通过PubSubHubbub进行新的直播广播的推送通知 [英] Push Notifications for new live broadcasts via PubSubHubbub

查看:121
本文介绍了通过PubSubHubbub进行新的直播广播的推送通知的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我想收到有关YouTube频道新直播的通知.如 YouTube v3推送通知中所述,我已经设置了公共可访问的PubSubHubbub回调服务器,并订阅了我自己的YouTube频道,在该频道中,我已经测试了普通视频"和直播广播的回调.订阅返回HTTP 204,我收到ping

I would like to receive notifications on new live broadcasts of YouTube channels. As described in YouTube v3 Push Notifications I've set up a public accessible PubSubHubbub callback server and subscribed to my own YouTube channel where I've tested the callbacks for "normal videos" and for live broadcasts. The subscription returned a HTTP 204 and I am getting pings for

  • 新视频
  • 更改视频
  • 删除视频

但是,当开始直播时,我没有收到Ping通知.它在YouTube频道上可见,您可以查看,使用聊天,实时仪表板显示一切正常.这样就可以了.但是,对于新的实时广播,无法对PubSubHubbub回调服务器执行ping操作.

However I do not get a Ping when a live broadcast starts. It is visible on the YouTube channel, you can view it, use the chat, the live dashboard says everything is fine. So that part is okay. But there is no ping to the PubSubHubbub callback server for new live broadcasts.

但是,如果我在实时信息中心中更改标题或说明,则可以使用ping当前的直播.

However if I change the title or the description in the live dashboard there is a ping for the current live broadcast.

对我来说,现场直播似乎只有一个"onChange",而没有创建"的ping.我能做些什么来接听新直播的失踪电话吗?

For me it looks like that there is only a "onChange" for live broadcasts, but no "created" ping. Is there anything I can do to get the missing calls for new live broadcasts?

关于, wlami

停止直播后,一旦处理完广播并在频道上将其显示为视频,则会收到两个更新Ping.

Once I stop the live broadcast I get two update Pings once the broadcast has been processed and is shown as a video on the channel.

推荐答案

Youtube通知通过PubSubHubbub在文档中指出这是为了:

Youtube Notifications via PubSubHubbub states in the docs that this is meant for:

  • 上传视频更新
  • 视频的标题更新
  • 视频说明

这里没有提及新的直播.

No mention of new live broadcast here.

这篇关于通过PubSubHubbub进行新的直播广播的推送通知的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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