bonus-edge-proxy/config/config.json

50 lines
1.8 KiB
JSON

{
"alarm_rules_path": "alarms.json",
"config_base_path": "/app/config/",
"data_cache_db_path": "edge_data_cache.db",
"data_storage_db_path": "edge_proxy_data.db",
"device_id": "rk3588-proxy-001",
"log_level": "info",
"mqtt_broker": "tcp://localhost:1883",
"mqtt_client_id_prefix": "edge-proxy-",
"piper_executable_path": "/usr/bin/piper",
"piper_model_path": "/app/models/model.onnx",
"tcp_server_ports": [
12345
],
"video_service": {
"enabled": true,
"model_path": "/app/edge-proxy/models/RK3588/yolov5s-640-640.rknn",
"streams": [
{
"enabled": true,
"id": "ch1301",
"input_url": "rtsp://admin:hzx12345@192.168.1.10:554/Streaming/Channels/1301",
"output_rtsp": "rtsp://127.0.0.1:8554/ch1301",
"rknn_thread_num": 1
},
{
"enabled": true,
"id": "ch1101",
"input_url": "rtsp://admin:hzx12345@192.168.1.10:554/Streaming/Channels/1101",
"output_rtsp": "rtsp://127.0.0.1:8554/ch1101",
"rknn_thread_num": 1
},
{
"enabled": true,
"id": "ch1401",
"input_url": "rtsp://admin:hzx12345@192.168.1.10:554/Streaming/Channels/1401",
"output_rtsp": "rtsp://127.0.0.1:8554/ch1401",
"rknn_thread_num": 1
},
{
"enabled": true,
"id": "ch1501",
"input_url": "rtsp://admin:hzx12345@192.168.1.10:554/Streaming/Channels/1501",
"output_rtsp": "rtsp://127.0.0.1:8554/ch1501",
"rknn_thread_num": 1
}
]
},
"web_server_port": 8080
}