140 lines
3.2 KiB
JSON
140 lines
3.2 KiB
JSON
{
|
|
"cameras": [
|
|
{
|
|
"bitrate": 2000000,
|
|
"device": "/dev/video0",
|
|
"enabled": false,
|
|
"fps": 30,
|
|
"height": 960,
|
|
"name": "AHD1",
|
|
"width": 1280
|
|
},
|
|
{
|
|
"bitrate": 2000000,
|
|
"device": "/dev/video1",
|
|
"enabled": true,
|
|
"fps": 30,
|
|
"height": 960,
|
|
"name": "AHD2",
|
|
"width": 1280
|
|
},
|
|
{
|
|
"bitrate": 2000000,
|
|
"device": "/dev/video2",
|
|
"enabled": true,
|
|
"fps": 30,
|
|
"height": 960,
|
|
"name": "AHD3",
|
|
"width": 1280
|
|
},
|
|
{
|
|
"bitrate": 2000000,
|
|
"device": "/dev/video3",
|
|
"enabled": false,
|
|
"fps": 30,
|
|
"height": 960,
|
|
"name": "AHD4",
|
|
"width": 1280
|
|
},
|
|
{
|
|
"bitrate": 2000000,
|
|
"device": "/dev/video11",
|
|
"enabled": true,
|
|
"fps": 30,
|
|
"height": 960,
|
|
"name": "AHD5",
|
|
"width": 1280
|
|
},
|
|
{
|
|
"bitrate": 2000000,
|
|
"device": "/dev/video12",
|
|
"enabled": true,
|
|
"fps": 30,
|
|
"height": 960,
|
|
"name": "AHD6",
|
|
"width": 1280
|
|
},
|
|
{
|
|
"bitrate": 2000000,
|
|
"device": "/dev/video13",
|
|
"enabled": true,
|
|
"fps": 30,
|
|
"height": 960,
|
|
"name": "AHD7",
|
|
"width": 1280
|
|
},
|
|
{
|
|
"bitrate": 2000000,
|
|
"device": "/dev/video14",
|
|
"enabled": true,
|
|
"fps": 30,
|
|
"height": 960,
|
|
"name": "AHD8",
|
|
"width": 1280
|
|
}
|
|
],
|
|
"mqtt_server": {
|
|
"address": "192.168.4.195",
|
|
"client_id": "20004_vehmedia",
|
|
"mqtt_heart_threshold": 1000,
|
|
"need_username_pwd": true,
|
|
"password": "Zxwl1234@",
|
|
"port": 51883,
|
|
"topic_profile": "protocol",
|
|
"username": "20004_4A:69:BE:32:59:AE",
|
|
"veh_id": 20004
|
|
},
|
|
"srs": {
|
|
"dvr_duration_sec": 60,
|
|
"live_enabled": true,
|
|
"live_host": "192.168.4.194",
|
|
"live_http_api_port": 11985,
|
|
"live_http_server_port": 18080,
|
|
"live_rtc_port": 8000,
|
|
"live_rtmp_port": 1935,
|
|
"live_vhost": "live",
|
|
"public_interface": "enP2p33s0",
|
|
"record_config": "/opt/vehicle-video-service/srs/conf/record.conf",
|
|
"record_enabled": true,
|
|
"record_host": "127.0.0.1",
|
|
"record_http_api_port": 2985,
|
|
"record_http_server_port": 2980,
|
|
"record_path": "/media/record",
|
|
"record_rtmp_port": 2935,
|
|
"record_vhost": "record",
|
|
"retention_days": 14,
|
|
"root": "/opt/vehicle-video-service/srs",
|
|
"stream_app": "camera",
|
|
"usage_threshold": 0.9,
|
|
"live_push_profile": "wan_194",
|
|
"live_playback_profile": "wan_194",
|
|
"live_profiles": {
|
|
"lan_194": {
|
|
"push_host": "192.168.4.194",
|
|
"push_rtmp_port": 1935,
|
|
"playback_scheme": "http",
|
|
"playback_host": "192.168.4.194",
|
|
"playback_http_api_port": 11985,
|
|
"playback_rtc_eip": "192.168.4.194:8000",
|
|
"vhost": "live"
|
|
},
|
|
"wan_194": {
|
|
"push_host": "36.153.162.171",
|
|
"push_rtmp_port": 19435,
|
|
"playback_scheme": "http",
|
|
"playback_host": "36.153.162.171",
|
|
"playback_http_api_port": 11985,
|
|
"playback_rtc_eip": "36.153.162.171:8000",
|
|
"vhost": "live"
|
|
}
|
|
}
|
|
},
|
|
"web": {
|
|
"bind": "0.0.0.0",
|
|
"enabled": true,
|
|
"password": "admin",
|
|
"port": 18081,
|
|
"username": "admin"
|
|
}
|
|
}
|