Start and stop stream as source window is opened and closed

ISibboI

New Member
Hi,

I would like to let OBS run and whenever a certain window opens, OBS should start streaming, and as soon as that window closes, it should stop streaming again.

I have set up a scene with a "Window Capture (Xcomposite)" source. Whenever that source becomes available, I would like to start the stream, and whenever the source becomes unavailable, I would like to stop the stream. All should happen without any intervention by me.

Is there a script for that, or any other option in OBS?
 
Top