Which Camera video stream is the main stream (for FPS and BPS) when multiple VideoStreamStatistics from STATUS API / GetVideoDeviceStatistics ?

Hi,

For a given camera, the STATUS API / GetVideoDeviceStatistics return a list of VideoStreamStatistics.

1. In which case will we receive multipe VideoStreamStatistics in the array ?

2. In this case, which one will the main Video Stream for the camera ? Always the first one ?

 <FPS>10</FPS>

 <BPS>2055943</BPS>

 ...
 <FPS>...</FPS>

 <BPS>...</BPS>

 ...

Thanks.

The VideoStreamStatisticsArray will contain more elements, if you set up multiple streams for a device (e.g. Camera).

In case you do this, you configure each stream with a name and decide whether or not the stream should run always or only when needed, if the stream should be the default stream for clients not specifying a stream when connecting and if the stream is the stream being recorded (and used for motion detection).

Thus, you have multiple possibilities for customizing your streams, so depending on what you consider the main stream there are different answers to your question about finding the main stream.

Apart from a and element, each VideoStreamStatistics element has the sub-elements , , and - all containing a boolean value depending on your configuration.

I guess that you should find the stream you are considering the main stream by looking at these boolean values.

Hi thanks for the reply. I will look into your feedback.