For stream or recording duration, one option is to use obs_frontend_add_event_callback to specify a callback, and handle OBS_FRONTEND_EVENT_STREAMING_STARTED/STOPPED events. Save a timestamp; current duration = now - time_of_start
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.