While trying to figure out why my depth stream isn't showing anything in the StreamViewer.java test I found that getStreams in DeviceInfo fails.
The return value of my PXCCapture_DeviceInfo_streams_get is 7 because the device has 3 types of streams.
From the StreamType docs in sdkmanuals.pdf:
"The StreamType enumerator itemizes supported video stream types. The value can be Bit-OR'ed to represent multiple stream combinations."
So getStreams fails when it tries to return a single StreamType via the enum lookup.
While trying to figure out why my depth stream isn't showing anything in the StreamViewer.java test I found that getStreams in DeviceInfo fails.
The return value of my PXCCapture_DeviceInfo_streams_get is 7 because the device has 3 types of streams.
From the StreamType docs in sdkmanuals.pdf: "The StreamType enumerator itemizes supported video stream types. The value can be Bit-OR'ed to represent multiple stream combinations."
So getStreams fails when it tries to return a single StreamType via the enum lookup.