A plugin for obs-studio, which enables automatically Switching the Twitch.tv channel status and game when switching scenes.
- Install CMake
- Check out and build obs-studio sources instructions
- Get libcurl development files (such as from https://curl.haxx.se/download.html)
- Run tools/update-dependencies.sh (or .bat on windows) to update git submodules
- configure and generate your CMake project (easiest using cmake-gui)
- open your project file, or
make -j32
orninja -C out/Release
whatever it is you like to do on your platform - Copy the output files into your obs-studio installation
- Try it out
TwitchSwitcher depends on modern C++ features, such as lambdas and std::promise. Remember to use a modern libc++ implementation, or a modern version of Visual Studio, to build this thing.
This plugin adds a new Scene Item to obs-studio, which contains properties specifying a game name and channel status (or title). When switching to a scene with such a scene item, a request is sent to the Twitch API to update the channel with those fields. The fields are optional, and if blank, will not be included in the request to the server.
So, change scenes, change your twitch status, basically. As the obs-studio API progresses, more useful ways to use this may present themselves and make for a better plugin.
Licensed under the Apache 2.0 license. See LICENSE for details.
Third party libraries used by this project are licensed under the terms of their various license documentation, which is included in their respective project folders.