I’m making a little game where viewers can interact with the game the streamer is playing. To do this, I need an overlay with some controls that notify the server hosted by the streamer that a button has been pushed.
What would be the best, most secure, and lag-free way of organising this? Should inputs from the viewer be transmitted to the EBS, which would communicate with the external server via websocket? Or would I need the use of PubSub?
I’m very new to the Twitch API so all of this is still a little confusing, even after reading the doc.