SightLine Applications Inc.
SightLine Applications Command, Control, and Script API  v3.7
List of all members
SLACurrentConfiguration_t Struct Reference

Description

Current camera and display configuration.

typedef struct {
u8 maxCameras;
u8 maxVirtCameras;
u8 maxStreams;
u8 maxProcessed;
u16 cameraConfiguredBits;
u16 cameraConnectedBits;
u32 displayPresentBits;
u32 captureStateBits;

NOTE: Analog cameras will always have display an 'on' signal.
NOTE: After startup, the values of cameraConnectedBits and captureStateBits will only be updated for cameras which are streaming video to any output. Sent in response to SLAGetParameters_t().

Message ID 0x8E

Byte Offset Name Description
4maxCamerasMaximum number of camera inputs
5maxVirtCamerasMaximum number of virtual camera inputs (the blend 'camera') – 4000: 0, 17XX: 0
6maxStreamsMaximum number of streams the system can display simultaneously
7maxProcessedMaximum number of cameras the system can process simultaneously
8-9cameraConfiguredBits1 if the Camera Index camera is configured, 0 otherwise.
Without Camera Index Parameter: Camera configured bit pattern, bit0=Cam0, bit1=Cam1, bit2=Cam2 (e.g. 0x00000005 indicates Cam0 and Cam2 are configured)
10-11cameraConnectedBits1 if the Camera Index camera is connected and acquiring, 0 otherwise.
Without Camera Index Parameter: Camera connected bit pattern, bit0=Cam0, bit1=Cam1, bit2=Cam2 (e.g. 0x00000005 indicates Cam0 and Cam2 are connected and acquiring)
NOTE: Analog cameras will indicate true even if the camera is not connected.
12-15displayPresentBitsThe currently available display types.
Note: See SLAVideoDisplay_t destination for display type values (e.g. 0x00000083 indicates Analog, Net0 and Net1 are available).
16-19captureStateBitsThe CameraIndex camera's capture state.
Without Camera Index Parameter: Camera state bit pattern. (e.g. 0x0000001100000000 indicates Cam1 is actively capturing and cam0 is in an Unknown state)
ValueDescription
0Unknown
1Initializing
2Re-initializing
3Active
4Timeout