in my case, i use 2 camera fotonic p60u series with astra SDK,
theres app from fotonic called ‘fotonic viewer’, when i open that app i realize that if I connect multiple camera and try to ‘scan’, app will show list of camera, this order of list camera always match with function for open device by Uri on openni sdk,
so before i stream camera, i list camera with function from openni, so i know that device/sensor0 or first camera is for camera that first appeared on the order list.
link for enumerates camera :
Universal Download Thread for Astra Series Cameras (Multi Camera Control Sample Code for Astra/Astra S)
sorry for my bad english