mirror of
https://github.com/TheWanderingCrow/CrOS.git
synced 2026-01-11 17:54:08 -05:00
set wce-0001 to store all records for 48 hours
This commit is contained in:
parent
8224dc17c1
commit
4e4489aa20
1 changed files with 30 additions and 24 deletions
|
|
@ -42,12 +42,12 @@ in
|
|||
wce-0003_sub = [
|
||||
"rtsp://thingino:thingino@192.168.150.3:554/ch1"
|
||||
];
|
||||
wce-0004 = [
|
||||
"rtsp://192.168.0.210:554/media/live/1/1"
|
||||
];
|
||||
wce-0004_sub = [
|
||||
"rtsp://192.168.0.210:554/media/live/1/2"
|
||||
];
|
||||
#wce-0004 = [
|
||||
# "rtsp://192.168.0.210:554/media/live/1/1"
|
||||
# ];
|
||||
# wce-0004_sub = [
|
||||
# "rtsp://192.168.0.210:554/media/live/1/2"
|
||||
# ];
|
||||
};
|
||||
};
|
||||
#############
|
||||
|
|
@ -112,6 +112,12 @@ in
|
|||
];
|
||||
};
|
||||
detect.enabled = true;
|
||||
record = {
|
||||
retain = {
|
||||
days = 2;
|
||||
mode = "all";
|
||||
};
|
||||
};
|
||||
review = {
|
||||
alerts.labels = [];
|
||||
detections.labels = [
|
||||
|
|
@ -164,24 +170,24 @@ in
|
|||
};
|
||||
detect.enabled = true;
|
||||
};
|
||||
wce-0004 = {
|
||||
ffmpeg = {
|
||||
inputs = [
|
||||
{
|
||||
path = "rtsp://127.0.0.1:8554/wce-0004";
|
||||
roles = ["record"];
|
||||
}
|
||||
{
|
||||
path = "rtsp://127.0.0.1:8554/wce-0004_sub";
|
||||
roles = ["detect"];
|
||||
}
|
||||
];
|
||||
};
|
||||
motion = {
|
||||
enabled = true;
|
||||
};
|
||||
detect.enabled = true;
|
||||
};
|
||||
# wce-0004 = {
|
||||
# ffmpeg = {
|
||||
# inputs = [
|
||||
# {
|
||||
# path = "rtsp://127.0.0.1:8554/wce-0004";
|
||||
# roles = ["record"];
|
||||
# }
|
||||
# {
|
||||
# path = "rtsp://127.0.0.1:8554/wce-0004_sub";
|
||||
# roles = ["detect"];
|
||||
# }
|
||||
# ];
|
||||
# };
|
||||
# motion = {
|
||||
# enabled = true;
|
||||
# };
|
||||
# detect.enabled = true;
|
||||
# };
|
||||
};
|
||||
});
|
||||
in {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue