On windows 10, apps that need access to webcam, communicate with frame server which is a service that runs under svchost.
I filter out the webcam stream and the process id i get is of svchost. I want to identify the actual process that is using the webcam.
Is there a definite way to identify programmatically what is the actual app that is using the webcam?
I have looked into enumerating handles of processes(have to deal with NtQueryObject() hang as well), but i am looking for a better definite solution.
