-
Notifications
You must be signed in to change notification settings - Fork 33
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Understanding when the virtual camera is in use and when not #56
Comments
Thank you for asking! |
I did not fully get the working principle of how it gets to understand it is connected, that I chose that virtual camera in use, maybe in a way if that condition can be checked continuously, that can solve the issue for me |
Any news? |
Sorry for my late response. Technically that should be possible, but its implementation is not trivial and may require careful coding. At first, I thought that reference counting of connected applications could be a solution. However, it won't work because a process easily stops without decrementing reference counts when it crashes or is killed by the system. |
Do you think it is addable to the current watchdog implementation? |
Yes. |
Hello,
Great project! Thanks a lot!
Both the scWaitForConnection and scIsConnected functions get True forever once the camera is opened or the connection is secured. Is it possible to return True let's say when the softcam virtual camera is in use, but if the user changes to another camera then return False? Not to return True forever. I want to fully know when this virtual camera is in use or not, if possible.
Thanks a lot!
The text was updated successfully, but these errors were encountered: