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?