Using Zones to Distribute Cameras¶
Zones let you control which streamers a camera is assigned to, based on network or geographic location.
Note
The streamer cannot be changed directly. To configure the distribution of cameras across streamers, use zones.
Warning
The streamer cannot be specified directly because:
-
During backup recovery, streamers with the old hostname will not exist.
-
If streamer_hostname is specified, failover becomes unclear—yet it must be implemented.
Strict Distribution (required zone)¶
If a camera must run only on streamers within a specific network:
- Create a zone associated with this network.
- Assign streamers to this zone by navigating to the
Streamers
section and selecting the appropriate streamer(s). - In the camera configuration, set this zone as
required
.
⚠️ If there are no available streamers in the zone, the camera will not be assigned and won’t start.
Preferred Distribution (preferred zone)¶
If a camera should preferably run in a specific geo-region, but fallback is allowed:
- Create a zone associated with this network.
- Assign streamers to this zone via the
Streamers
section. - In the camera configuration, set this zone as
preferred
.
The camera will be assigned to this zone if streamers are available. 🔁 If streamers are unavailable, it will be assigned to any available streamer. Once streamers in the preferred zone become available again, the camera will move back to that zone automatically.