This project is a Twitch Overlay that I use when streaming (specifically speedrunning). This is used in a Browser source in OBS that is placed on top of my gameplay/webcam/other elements I have on stream. Could be a useful reference for other streamers/devs that want to interact wtih channel points for their own streams as well.
This requires you to use the LiveSplit WebSocket Server component in livesplit due to planned features for the future. This component allows us to read information from and send information to livesplit using a WebSocket connection. The download and setup information for this component can be found here: https://github.com/MeGotsThis/LiveSplit.WebSocketServer
This requries you to use the obs-websockt plugin for OBS in order to change scenes in OBS. The download and setup information for this plugin can be found here: https://obsproject.com/forum/resources/obs-websocket-remote-control-obs-studio-from-websockets.466/
- Support for channel point rewards being redeemed:
- Chat members can give luck to me during a run as a channel point reward. This will pick from a set of messages to display on stream and play a sound effect.
- Chat members can replace my facecam with a supported emote of thier choice.
- Chat members can redshift/blueshift my layout which will toggle the overlay color from red to blue.
- Chat members can skip to the next song in the playlist or replay the previous song in the playlist.
- Chat members can use the Roll The Dice channel point reward that rolls a d20 on the layout and gives a chance at different rewards.
- Overlay changes colors based on if a run is in progress or not. This changes both the image color on the webpage and also the current scene in OBS.
- Uses Spotify's Web API to get the currently playing song for a !song command that shows the currently playing song.
- Chatbot commands such as !wins and !streak for Fall Guys streams (could be adapted for other games).
- Support more emotes for the facecam emote reward. Look into a way of getting an emote URL just providing the name of an emote (I haven't found anything on this front yet).
- Overlay color changes when golding a split or has other interesting interactions with livesplit (I have a very cool idea for this but it would take a lot of time and money for commissions. Maybe at the start of the new year?).