Order of creating streams


I use openni to communicate with the Structure Sensor. I noticed when I start the IR stream before the depth stream, the depth stream doesn’t start. When I start the depth stream before the IR stream, both streams are OK.
Why do I need to start the depth stream before the IR stream?

@Natasja what information does getExtendedError return when depth stream creation fails?

Unfortunately it doesn’t return an error message at all. I even double checked it by using strlen(OpenNI::getExtendedError()), but that just returns 0.

Ok. I’m not certain why the order is important, but wanted to note that the projector pattern will be visible in the IR stream if depth is also enabled. This may or may not be important for your application.