Is there a way to detect if the camera is already running (e.g. because of Slack, Teams, Zoom, etc.)? I am wanting to be able to tell if the camera is already turned on or off so I can take an action based upon that status. I am OK with polling if necessary (e.g. because there are no events for camera status updates) but I haven't found the right call yet.
Thanks!
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
There is no API i'm aware to detect if a camera device is already in use.
Prior, Windows 10 Anniversary Update, if a such device was in use, you had an error code during the graph building but now, Microsoft make changes in the OS that allow camera sharing. So a graph building should always be successful, even when another application already use the camera.
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Is there a way to detect if the camera is already running (e.g. because of Slack, Teams, Zoom, etc.)? I am wanting to be able to tell if the camera is already turned on or off so I can take an action based upon that status. I am OK with polling if necessary (e.g. because there are no events for camera status updates) but I haven't found the right call yet.
Thanks!
Hi,
There is no API i'm aware to detect if a camera device is already in use.
Prior, Windows 10 Anniversary Update, if a such device was in use, you had an error code during the graph building but now, Microsoft make changes in the OS that allow camera sharing. So a graph building should always be successful, even when another application already use the camera.