YouTube Pubsubhubbub通知中的delay

问题描述 投票:0回答:1
我已通过YouTube订阅了我的服务器到我的YouTube频道 pubsubhubbub。我有时会延迟通知。

无论如何(例如统计,跟踪,YouTube API),我可以知道,当pubsubhubbub事件发射时,我实际上可以知道,如果有延迟? 原子饲料看起来像这样: <entry> <id>yt:video:vidxxx</id> <yt:videoId>videxxx</yt:videoId> <yt:channelId>channelxxx</yt:channelId> <title> titlexxx</title> <link rel="alternate" href="https://www.youtube.com/watch?v=vidxxx"/> <author> <name>Author</name> <uri> https://www.youtube.com/channel/channelxxx </uri> </author> <published>2019-01-06T13:00:57+00:00</published> <updated>2019-01-06T17:18:07+00:00</updated> <media:group> <media:title> title xxx </media:title> <media:content url="https://www.youtube.com/v/xxx?version=3" type="application/x-shockwave-flash" width="640" height="390"/> <media:thumbnail url="https://i2.ytimg.com/vi/xxx/hqdefault.jpg" width="480" height="360"/> <media:description> description XXX </media:description> <media:community> <media:starRating count="45" average="4.91" min="1" max="5"/> <media:statistics views="70593"/> </media:community> </media:group> </entry>

您可以使用此链接:
Https://pubsubbub.appspot.com/publish
push-notification youtube youtube-api atom-feed websub
1个回答
0
投票

发布视频到您的频道。 检查原子feed:Https://www.youtube.com/feeds/videos.xml?channel_id =

  1. https://pubsubhubbub.appspot.com/publish发布event.
  2. 然后您可以测试以查看您的回调是如何从YouTube接收数据的。 theet,您将无法知道何时为新上传的视频进行帖子通话,因为这是手动触发的。新的上传触发器似乎是片状的:
  3. https://issuetracker.google.com/issues/204101548..
最新问题
© www.soinside.com 2019 - 2025. All rights reserved.