mirror of
https://github.com/itme-brain/nixos.git
synced 2026-03-23 16:29:42 -04:00
doorbell
This commit is contained in:
parent
8544f3dd1e
commit
9ff0b408a4
1 changed files with 18 additions and 8 deletions
|
|
@ -20,8 +20,8 @@ in
|
||||||
rtsp.listen = ":8554";
|
rtsp.listen = ":8554";
|
||||||
webrtc.listen = ":8555";
|
webrtc.listen = ":8555";
|
||||||
streams = {
|
streams = {
|
||||||
#doorbell = "rtsp://admin:ocu%3Fu3Su@192.168.1.167/cam/realmonitor?channel=1&subtype=0";
|
doorbell = "rtsp://admin:ocu%3Fu3Su@192.168.1.167/cam/realmonitor?channel=1&subtype=0#backchannel=1";
|
||||||
#doorbell_sub = "rtsp://admin:ocu%3Fu3Su@192.168.1.167/cam/realmonitor?channel=1&subtype=1";
|
doorbell_sub = "rtsp://admin:ocu%3Fu3Su@192.168.1.167/cam/realmonitor?channel=1&subtype=1";
|
||||||
living_room = "rtsp://admin:ocu%3Fu3Su@192.168.1.147/cam/realmonitor?channel=1&subtype=0#backchannel=1";
|
living_room = "rtsp://admin:ocu%3Fu3Su@192.168.1.147/cam/realmonitor?channel=1&subtype=0#backchannel=1";
|
||||||
living_room_sub = "rtsp://admin:ocu%3Fu3Su@192.168.1.147/cam/realmonitor?channel=1&subtype=1";
|
living_room_sub = "rtsp://admin:ocu%3Fu3Su@192.168.1.147/cam/realmonitor?channel=1&subtype=1";
|
||||||
kitchen = "rtsp://admin:ocu%3Fu3Su@192.168.1.147/cam/realmonitor?channel=2&subtype=0#backchannel=1";
|
kitchen = "rtsp://admin:ocu%3Fu3Su@192.168.1.147/cam/realmonitor?channel=2&subtype=0#backchannel=1";
|
||||||
|
|
@ -54,12 +54,22 @@ in
|
||||||
};
|
};
|
||||||
cameras = {
|
cameras = {
|
||||||
doorbell = {
|
doorbell = {
|
||||||
enabled = false; # Camera offline
|
enabled = true;
|
||||||
detect.enabled = false;
|
detect = {
|
||||||
ffmpeg.inputs = [{
|
enabled = true;
|
||||||
|
width = 640;
|
||||||
|
height = 480;
|
||||||
|
};
|
||||||
|
ffmpeg.inputs = [
|
||||||
|
{
|
||||||
path = "rtsp://127.0.0.1:8554/doorbell";
|
path = "rtsp://127.0.0.1:8554/doorbell";
|
||||||
roles = [ "record" ];
|
roles = [ "record" ];
|
||||||
}];
|
}
|
||||||
|
{
|
||||||
|
path = "rtsp://127.0.0.1:8554/doorbell_sub";
|
||||||
|
roles = [ "detect" ];
|
||||||
|
}
|
||||||
|
];
|
||||||
};
|
};
|
||||||
living_room = {
|
living_room = {
|
||||||
enabled = true;
|
enabled = true;
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue