Push Notifications for new live broadcasts via PubSubHubbub

流过昼夜 提交于 2020-02-26 08:45:02

问题


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

  • new videos
  • changes of videos
  • deletion of vides

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.

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

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?

Regards, wlami

Edit: 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.


回答1:


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

  • uploads a video updates
  • a video's title updates
  • a video's description

No mention of new live broadcast here.



来源:https://stackoverflow.com/questions/44615704/push-notifications-for-new-live-broadcasts-via-pubsubhubbub

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