Twitch integration via EventSub #128
Replies: 8 comments 13 replies
-
Thanks @nuernbergerA, we discussed this already a bit in #11.
I don't see them as big issues but they need to be handled and discussed too. I definitely want to support Twitch too somehow. |
Beta Was this translation helpful? Give feedback.
-
@nuernbergerA, @danielhe4rt mentioned these new API endpoints: https://discuss.dev.twitch.tv/t/announcing-api-endpoints-for-twitch-channel-stream-schedules/32137 This will make it now much easier. Challenges I still see:
|
Beta Was this translation helpful? Give feedback.
-
Please forgive me if I'm out of the loop on how this app works, but another option may be to allow submission individual streams with a generic URL instead of trying to integrate with twitch directly. I'm going to stream on Twitch often (nearly always Laravel), but would be happy to manually submit a few "bigger" stream events as I plan them. |
Beta Was this translation helpful? Give feedback.
-
Hey, thanks for getting in touch @austenc. What kind of "generic URL" are you thinking of? Currently, we are using YouTube stream ids for submission. Through these ids we are able to collect all the important stream info like name, date, image, etc. |
Beta Was this translation helpful? Give feedback.
-
Ah, yeah, I admittedly (sorry!) didn't look at the source to see how that was happening. Although it works great for Youtube, it may be difficult to incorporate for Twitch given that nothing is really "scheduled". I see you posted about the stream schedule API that Twitch has now... problem is, what if you miss a stream? Anyway, I was thinking of a form that would allow you to fill out all those fields manually. I thought that's how it was working already, but I assumed wrong! Totally understand if supporting something like that isn't something you want to do as a maintainer, though. Thanks! |
Beta Was this translation helpful? Give feedback.
-
I'd be totally fine to just manually add my streams vs having a full on integration with Twitch! Is that doable? |
Beta Was this translation helpful? Give feedback.
-
Alright, I tried to sum up the flows of how working with Twitch streams could work. What do you think? The scenario where we store a whole twitch channel:
The scenario where the user can submit a twitch stream:
|
Beta Was this translation helpful? Give feedback.
-
@skylerkatz I just noticed (during stream) that for the |
Beta Was this translation helpful? Give feedback.
-
Streaming on Twitch is totally different concept than streaming via YouTube.
On YouTube you can schedule a single stream with a starting time.
Twitch instead only allows you to add a weekly schedule due to its nature, it's like a TV show.
The only beneficial way to integrate Twitch for me would be via EventSub.
Workflow:
I have already a working API - will create a draft PR
Beta Was this translation helpful? Give feedback.
All reactions