From 87db92f9f962e5cc777b173d9005d674fd2a2da6 Mon Sep 17 00:00:00 2001 From: Gregor Kleen Date: Mon, 10 Sep 2018 20:02:31 +0200 Subject: rtsp? --- odin.nix | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) diff --git a/odin.nix b/odin.nix index 406387ed..091643cc 100644 --- a/odin.nix +++ b/odin.nix @@ -300,8 +300,7 @@ extraConfig = '' camera_name living-room - netcam_url mjpeg://ipcam02.hlidskjalf.yggdrasil:80/video2.mjpeg - netcam_keepalive on + netcam_url rtsp://ipcam02.hlidskjalf.yggdrasil:554/live2.sdp width 1920 height 1080 @@ -479,8 +478,8 @@ locations = { "/bar/".proxyPass = "http://bar/"; - "/motion/cat-food.mjpeg".proxyPass = "http://localhost:8080"; - "/motion/living-room.mjpeg".proxyPass = "http://localhost:8081"; + "/motion/cat-food.mjpeg".proxyPass = "http://localhost:8080/"; + "/motion/living-room.mjpeg".proxyPass = "http://localhost:8081/"; }; }; -- cgit v1.2.3