# manually designate the central server's IP address. Used on both cameras and central server.
central_server = '192.168.50.35'
# path to log
log_path = "/var/log/camera"
log_level = "debug"
date_format = "%Y-%m-%d-%H-%M-%S"
short_date_format = "%H:%M:%S %D"
render_device = "/dev/dri/by-path/pci-0000\:0b\:00.0-render"
# camera names must be unique for logging purposes.
# port must be unique
# address must be unique IPv4
# optional categories are restream address/port. If not provided, central server reuses
# its own address and adds 200 to port.
cameras = {
    "eastgaragecam": {
        "name": "eastgarage",
        "mount_path": "/tmp/eastgarage",
        "save_folder": "/mnt/eastgarage",
        "address": "192.168.50.125",
        "frame_rate": 25,
        "resolution": "1600x900",
        "bit_rate": "3M",
        "loop_duration": 300
        # "restream_address": ""
        # "restream_port": ""
    },
    "porchcam": {
        "name": "porch",
        "mount_path": "/tmp/porch",
        "save_folder": "/mnt/porch",
        "frame_rate": 25,
        "address": "192.168.50.124",
        "resolution": "1366x768",
        "bit_rate": "1.5M",
        "loop_duration": 300
    }
}
