kunlang_video/config.json

117 lines
2.5 KiB
JSON
Raw Normal View History

{
"mqtt_server": {
"veh_id": 20004,
"address": "192.168.4.195",
"port": 51883,
"need_username_pwd": true,
"client_id": "20004_vehmedia",
"username": "20004_4A:69:BE:32:59:AE",
2025-11-13 13:11:24 +08:00
"password": "Zxwl1234@",
2025-10-15 10:30:36 +08:00
"mqtt_heart_threshold": 1000
},
2026-05-09 10:51:10 +08:00
"srs": {
"root": "/opt/vehicle-video-service/srs",
"record_config": "/opt/vehicle-video-service/srs/conf/record.conf",
"stream_app": "camera",
2026-05-09 11:36:51 +08:00
"live_enabled": true,
"record_enabled": true,
2026-05-09 10:51:10 +08:00
"live_host": "127.0.0.1",
"live_rtmp_port": 1935,
"live_http_api_port": 1985,
2026-05-09 11:36:51 +08:00
"live_http_server_port": 8080,
"live_rtc_port": 8000,
2026-05-09 10:51:10 +08:00
"live_vhost": "live",
"record_host": "127.0.0.1",
"record_rtmp_port": 2935,
"record_http_api_port": 2985,
2026-05-09 11:36:51 +08:00
"record_http_server_port": 2980,
2026-05-09 10:51:10 +08:00
"record_vhost": "record",
2026-05-09 11:36:51 +08:00
"record_path": "/media/record",
"dvr_duration_sec": 60,
"retention_days": 14,
"usage_threshold": 0.9,
2026-05-09 10:51:10 +08:00
"public_interface": "enP2p33s0"
},
2026-05-09 11:36:51 +08:00
"web": {
"enabled": true,
"bind": "0.0.0.0",
"port": 18080,
"username": "admin",
"password": "admin123"
},
"cameras": [
{
2025-10-15 10:30:36 +08:00
"device": "/dev/video0",
"name": "AHD1",
"enabled": true,
2025-11-13 13:11:24 +08:00
"bitrate": 2000000,
"width": 1280,
2025-10-15 10:30:36 +08:00
"height": 960,
"fps": 30
},
{
2025-10-15 10:30:36 +08:00
"device": "/dev/video1",
"name": "AHD2",
2025-10-15 10:30:36 +08:00
"enabled": true,
2025-11-13 13:11:24 +08:00
"bitrate": 2000000,
"width": 1280,
2025-10-15 10:30:36 +08:00
"height": 960,
"fps": 30
},
{
2025-10-15 10:30:36 +08:00
"device": "/dev/video2",
"name": "AHD3",
2025-10-15 10:30:36 +08:00
"enabled": true,
2025-11-13 13:11:24 +08:00
"bitrate": 2000000,
"width": 1280,
2025-10-15 10:30:36 +08:00
"height": 960,
"fps": 30
},
{
2025-10-15 10:30:36 +08:00
"device": "/dev/video3",
"name": "AHD4",
2025-10-15 10:30:36 +08:00
"enabled": true,
2025-11-13 13:11:24 +08:00
"bitrate": 2000000,
"width": 1280,
2025-10-15 10:30:36 +08:00
"height": 960,
"fps": 30
},
{
2025-10-15 10:30:36 +08:00
"device": "/dev/video11",
"name": "AHD5",
2025-10-15 10:30:36 +08:00
"enabled": true,
2025-11-13 13:11:24 +08:00
"bitrate": 2000000,
2025-10-15 10:30:36 +08:00
"width": 1280,
"height": 960,
"fps": 30
},
{
2025-10-15 10:30:36 +08:00
"device": "/dev/video12",
"name": "AHD6",
2025-10-15 10:30:36 +08:00
"enabled": true,
2025-11-13 13:11:24 +08:00
"bitrate": 2000000,
2025-10-15 10:30:36 +08:00
"width": 1280,
"height": 960,
"fps": 30
},
{
2025-10-15 10:30:36 +08:00
"device": "/dev/video13",
"name": "AHD7",
2025-10-15 10:30:36 +08:00
"enabled": true,
2025-11-13 13:11:24 +08:00
"bitrate": 2000000,
2025-10-15 10:30:36 +08:00
"width": 1280,
"height": 960,
"fps": 30
},
{
2025-10-15 10:30:36 +08:00
"device": "/dev/video14",
"name": "AHD8",
2025-10-15 10:30:36 +08:00
"enabled": true,
2025-11-13 13:11:24 +08:00
"bitrate": 2000000,
2025-10-15 10:30:36 +08:00
"width": 1280,
"height": 960,
"fps": 30
}
]
2026-05-09 10:51:10 +08:00
}