Simple lua script to set the delay/sync on an OBS source.
To use, simply:
- Change the value of
source_nameto the name of the OBS source you want the delay set on. - Change the value of
delayto however many ms you want the delay - Load the script into OBS
- In OBS settings, set the Hotkey you'd like to trigger the script to set the delay
For my use, I created 2 copies with different hotkeys, one to set the delay, and one to unset it.