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

Rework device api

Open EddyGharbi opened this issue 3 years ago • 0 comments

Description

Change to use Windows native API to enumerate available DSHOW devices.

Motivation and Context

The method of creating dummy devices to then enumerate through the properties (1) doesn't work well (2) create some issues on the side and (3) not good in terms of performance. We are effectively duplicating the device enum logic from OBS but that's ok since it's very isolate and relatively small.

How Has This Been Tested?

With QA and from the client to make sure we are correctly enumerating all the devices.

Types of changes

Performance enhancement (non-breaking change which improves efficiency)

Checklist:

  • [X] The code has been tested.

EddyGharbi avatar Jul 07 '22 16:07 EddyGharbi