修改心跳上报内容
This commit is contained in:
parent
af37638f87
commit
88ff6f8b16
18
config.json
18
config.json
@ -6,7 +6,7 @@
|
||||
"need_username_pwd": true,
|
||||
"client_id": "20004_vehmedia",
|
||||
"username": "20004_4A:69:BE:32:59:AE",
|
||||
"password": "31d6bb29f177d5bf8560756c0f0e63c63fd412e52c5b9ea59476024eab893884a5f34f0637e0fe3ad42b802c16edb6feb37cde613957c3540c060c07b230cb0aa6b4547bb86fcae43d484179d3a11a1969a2f367ec0ceede4c10510757a89927af4c2d0c0484476be3241a9ff9242e7401f3fbcd824b5cfb19674663b7045e32dd2f97b4",
|
||||
"password": "Zxwl1234@",
|
||||
"mqtt_heart_threshold": 1000
|
||||
},
|
||||
"cameras": [
|
||||
@ -14,7 +14,7 @@
|
||||
"device": "/dev/video0",
|
||||
"name": "AHD1",
|
||||
"enabled": true,
|
||||
"resolution": "960p",
|
||||
"bitrate": 2000000,
|
||||
"width": 1280,
|
||||
"height": 960,
|
||||
"fps": 30
|
||||
@ -23,7 +23,7 @@
|
||||
"device": "/dev/video1",
|
||||
"name": "AHD2",
|
||||
"enabled": true,
|
||||
"resolution": "960p",
|
||||
"bitrate": 2000000,
|
||||
"width": 1280,
|
||||
"height": 960,
|
||||
"fps": 30
|
||||
@ -32,7 +32,7 @@
|
||||
"device": "/dev/video2",
|
||||
"name": "AHD3",
|
||||
"enabled": true,
|
||||
"resolution": "960p",
|
||||
"bitrate": 2000000,
|
||||
"width": 1280,
|
||||
"height": 960,
|
||||
"fps": 30
|
||||
@ -41,7 +41,7 @@
|
||||
"device": "/dev/video3",
|
||||
"name": "AHD4",
|
||||
"enabled": true,
|
||||
"resolution": "960p",
|
||||
"bitrate": 2000000,
|
||||
"width": 1280,
|
||||
"height": 960,
|
||||
"fps": 30
|
||||
@ -50,7 +50,7 @@
|
||||
"device": "/dev/video11",
|
||||
"name": "AHD5",
|
||||
"enabled": true,
|
||||
"resolution": "960p",
|
||||
"bitrate": 2000000,
|
||||
"width": 1280,
|
||||
"height": 960,
|
||||
"fps": 30
|
||||
@ -59,7 +59,7 @@
|
||||
"device": "/dev/video12",
|
||||
"name": "AHD6",
|
||||
"enabled": true,
|
||||
"resolution": "960p",
|
||||
"bitrate": 2000000,
|
||||
"width": 1280,
|
||||
"height": 960,
|
||||
"fps": 30
|
||||
@ -68,7 +68,7 @@
|
||||
"device": "/dev/video13",
|
||||
"name": "AHD7",
|
||||
"enabled": true,
|
||||
"resolution": "960p",
|
||||
"bitrate": 2000000,
|
||||
"width": 1280,
|
||||
"height": 960,
|
||||
"fps": 30
|
||||
@ -77,7 +77,7 @@
|
||||
"device": "/dev/video14",
|
||||
"name": "AHD8",
|
||||
"enabled": true,
|
||||
"resolution": "960p",
|
||||
"bitrate": 2000000,
|
||||
"width": 1280,
|
||||
"height": 960,
|
||||
"fps": 30
|
||||
|
||||
@ -39,7 +39,7 @@ static void send_heartbeat()
|
||||
|
||||
if (ch.running)
|
||||
{
|
||||
item["url"] = ch.url;
|
||||
item["reason"] = nullptr;
|
||||
running_count++;
|
||||
}
|
||||
else
|
||||
|
||||
Loading…
Reference in New Issue
Block a user