Using a Stream Deck to mark timestamps in an recording
This article is part of the Pool’s Tech Adventure and Tutorials series.
I had the idea to use my Stream Deck to timestamp my playtest. I have different categories of stuff I usually timestamp, so I wanted to use multiple buttons to mark them.
After a bit of research I found OBS Local Stream Marker. It makes this huge CSV file with extra stuff I don’t care about, but I am able to make a comment on the marker, so I have the 4 categories I want. Now I just needed to connect them to the Stream Deck. I use OpenDeck, not really an alternative to on Linux. You need to setup Multi OBS Controller to get a working OBS integration, but if you have only one OBS instance like a sane person you can make it default to only one.
It has luckily raw websocket support, and obs-websocket has a request for triggering hotkeys, TriggerHotkeyByName. All I needed to find out was the name of the hotkey, which I did by setting a random key to a comment in the Settings => Hotkeys section and checked the basic.ini.
In order to do the same, you need to drag a Raw WS Request and setup the command TriggerHotkeyByName. The body is
{
"hotkeyName": "comment_hotkey_1"
}
and you change the number based on which comment you want to trigger with the button.
Hope this is helpful to someone :)