Skip to content
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

Possibility to check if given device / stream is in use by another application #115

Open
msokalski opened this issue May 17, 2017 · 0 comments

Comments

@msokalski
Copy link

msokalski commented May 17, 2017

Hello,
I run into severe issues when (usually by accident) I run more than 1 application making use of OpenNI2 on Windows.

My Question: is there way to detect such situation?

Detailed issue description:

  • 2 programs start normally, they open same device, create and start depth stream. Both receive frames (with lags).
  • If I close one program second one stops functioning ( waitForAnyStream permanently fails )

EDIT: some solution is to call depth.stop() & depth.start()
but I would rather prefer to have ability to check if stream is open by other process - then decide on my own (warn, fail, ignore, etc...)

Thanks for any help in advance,
Marcin.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant