|
FireSync API
|
| kStatus kCamera_SetPortMode | ( | kCamera | camera, |
| kCameraPortMode | mode | ||
| ) |
Sets the port mode of the camera.
There are two camera port mode, combined and separate.
With combined port mode, there is only one port per camera state which is "State x", where "x" is state ID. All the messages generated from this state are sent from the same port. When there are both video and algorithm data from camera, camera port will output both data type alternatively.
With separate port mode, there are two ports, "Video x" and "Algorithm x", per camera state. Messages are sent from dedicated port based on data type.
| camera | Camera object. |
| mode | Camera port mode. |