I'm trying to add OAK-D-SR-POE preview streams to the depthai demo python QT app.
I've managed to read data from the camera and have conditional connections so that if another USB camera is connected it takes precedent, and if not it detects an attached POE camera.
The problem is with viewing and showing all the streams from the camera at all, and properly.
When iterating over available cameras I get the following results:
Connected Camera Features:
Camera on Socket: CameraBoardSocket.CAM_A
Sensor Name: S5K33D
Supported Types (Resolutions):
Camera on Socket: CameraBoardSocket.CAM_B
Sensor Name: OV9782
Supported Types (Resolutions):
{'TOF': {'width': 1280, 'height': 3848}, 'COLOR': {'width': 640, 'height': 400}}
So it detects two camera sensors on the device, but one of them (S5K33D) doesn't have any supported resolutions, and the other (OV9782) has the TOF and COLOR cameras (both of which have RGB output).
When trying to add a preview of both using:
PreviewManager.createColorCam(args = self._conf.args).setBoardSocket(rgbSocket)
PreviewManager.createColorCam(args = self._conf.args).setBoardSocket(tofSocket)
I get a conflict error:
ValueError: Streams have duplicate name 'color_control'
I can't connect the TOF socket as any other preview camera (depth requires left and right streams to which I don't have access, and the TOF has RGB rather than mono data so I can't attach it to either the left or right previews).
Also, when I do connect the TOF as the color camera I get a very strange preview that seems shifted on the Y axis, so that the top half of the video is down and the top is above.

Please advise how to properly set up BOTH streams on the preview and why I can't see any other available stream on this camera (it does have left and right cameras but I can't see them when reading the device's features using the API).
Thanks!