Add Activate and Deactivate Sources to OBS API

KenO

New Member
It would be great to have an interface to activate and deactivate sources through the API, such as obs.obs_source_set_activate(source, activate) that would work for both activating and deactivating. We have a number of USB cameras running at USB 3 speeds with 4k content and sometimes one will get hung. I would like to deactivate and reactivate while that camera source is not being shown, but there is not API to do that. I do not want to use "Deactivate when not showing" as that adds an unacceptable delay when starting back up again.
 
Top