obs-studio-node-example icon indicating copy to clipboard operation
obs-studio-node-example copied to clipboard

Gets the true monitor resolution of the input source for multi-monitor setups

Open emptycrown opened this issue 5 years ago • 0 comments

Something like this is needed to actually use the true monitor resolution to scale a scene. When there is only one monitor, this doesn't matter much since Electron's getPrimaryDisplay() will handle that.

However, in multi-monitor setups, Electron's displays are not helpful. To get the resolution dimensions, we must wait until after the source is added and then scale the scene accordingly.

Solves #15

emptycrown avatar Jun 08 '20 15:06 emptycrown