Envek / obs-studio-node-example

Learn how to use OBS Studio from your Electron app for screen video recording
GNU General Public License v2.0
105 stars 19 forks source link

Using the correct scene resolution in multi-monitor setups #15

Open emptycrown opened 4 years ago

emptycrown commented 4 years ago

Simply using the primary screen resolution obtained from Electron is sufficient when there's just one monitor. However, some cases fail when there are more displays.

Thus far, I haven't been able to track down a consistent way to determine the correct resolution of a given monitor (indexed by obs-studio-node via 0, 1, ...) and use it for the scene.

Will make a post if I find something.