tehpsalmist / youtube-live-notifier

Pubsub situation for broadcasting when a channel goes live or not
2 stars 1 forks source link

Does the YouTube WebSub API support livestreams? #1

Open h1nk opened 5 years ago

h1nk commented 5 years ago

I'm getting completely mixed messages about whether or not YouTube's hub servers actually push notifications for livestreams or not based on the things I've read from the following:

Can you please confirm or deny whether livestream notifications are actually supported or not. I can't tell if they're outright not supported at all or if the notification delay is just so horrendous that it's hours and days late.

h1nk commented 5 years ago

Pinging @tehpsalmist

Still very curious about this if you have any input.

tehpsalmist commented 5 years ago

I'm pretty sure this still works, but I'd have to spin up the project to try it out again, and I'm too busy right now. The big issue with the existing APIs is that there is incredible latency in the notification, so if someone livestreams for less than 3 minutes, there is a chance the notification won't be delivered until after they are finished. If you don't need anything quicker than that, then the pubsubhubbub api should do the trick, as this repo can demonstrate.