Update the video source device list

329 Views Asked by At

It seems the device list will be created only once at startup. Is it possible to update the video source device list during run time. Unfortunately, I can't find a method to do this.

1

There are 1 best solutions below

0
Roman Ryltsov On

Video capture source list is updated if you do the enumeration from the start (as opposed to reusing enumerator instance you already have).

You can witness this by starting Windows SDK GraphEdit, listing the filters, then connecting a new device and re-checking the list without closing the GraphEdit application.