Trying to reference current recording time in plugin

danelyn

New Member
hi, all. I've been pulling my hair out trying to figure this out, and I can't seem to find this in any of the documentation despite it being one of the simplest (and I assume, fairly widely used) features. I'm trying to get the current recording/streaming time as found on the bottom right in the OBS window. I've seen plugins like InfoWriter, and although it seems to use the exact function that I'm trying to use, OBSGetTotalStreamTime, this function is nowhere to be found in the modern obs-studio repo, neither is it even the right casing as most of the functions in there. am I just looking in the wrong place? why is there a complete disconnect between the functions used in the source code of this plugin, such as OBSGetAppDataPath or OBSCreateHotkey, and why is there not a singular function that can give me the current time spent in recording, and yet have it shown explicitly on the UI?
 

danelyn

New Member
bumping this, seems like a very simple problem as it has already been found but looking for help
 

DVWHaus

New Member
You can use a count up timer with disabled refresh on scene switch. Check out https://streamcd.net you can find the widget in the picture below.
1645618656739.png


and make sure to have this unchecked so the browser source stays on while switching scenes

1645618789723.png


It's less of a struggle than creating a whole new plugin
 
Top