stream-labs / obs-studio-node

libOBS (OBS Studio) for Node.Js, Electron and similar tools
GNU General Public License v2.0
614 stars 99 forks source link

Improved service default settings handling #1456

Closed avoitenko-logitech closed 3 months ago

avoitenko-logitech commented 4 months ago

Description

Improved service default settings handling

Motivation and Context

Previously used approach was frustrating for user Settings window allowed to edit and apply settings while option 'Use service default settings' was enabled. But with this option enabled setting values are ignored and overridden by values from service.json inside OBS. So now we fetch service default settings, present them to user and disable editing (or setting upper bound) for a certain settings.

How Has This Been Tested?

Tested by QA

Types of changes