obs_monitor_list
List physical displays OBS can use for fullscreen projectors, returning their indices to ensure correct positioning and avoid covering the OBS window.
Instructions
List the physical displays OBS can put a fullscreen projector on, with the index each one answers to. Always call this before opening a fullscreen projector: the index is positional, it is not stable across replugging a display, and there is no request that tells you which one OBS's own window is on.
If this returns a single monitor - which is what the reference machine reports, one 1920x1080 at index 0 - then there is no spare screen, and every fullscreen projector will land on top of the operator's OBS window. Since obs-websocket has no way to close a projector, that has to be undone by hand at the machine. Use windowed mode instead when the count is 1.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||