Search for an available media server
When distributing video streams to a media server, the least loaded available media server is selected.
When selecting a media server, the following checks are performed:
If the Active setting enabled in the media server card.
The number of primary streams that can be allocated to this media server (the Number of threads limit setting).
The sum of incoming traffic for all created streams on this media server should not exceed the specified value (the Incoming traffic limit, kbps setting). The media server with the lowest sum of incoming traffic for created primary streams is selected first.
The camera group type is also taken into account: Public, Private, or All.
Additionally, the server is unavailable for distribution if each disk load exceeds 80% (in the base configuration).