From: Ted Hess Date: Sun, 3 Dec 2017 17:49:49 +0000 (-0500) Subject: mjpg-streamer: Add mdns support X-Git-Url: http://git.lede-project.org./?a=commitdiff_plain;h=c34edc217185d98d169402ee0ed8b87e70bb2071;p=feed%2Fpackages.git mjpg-streamer: Add mdns support Signed-off-by: Roger D Signed-off-by: Ted Hess --- diff --git a/multimedia/mjpg-streamer/Makefile b/multimedia/mjpg-streamer/Makefile index 6617e8967d..1c18e5d923 100644 --- a/multimedia/mjpg-streamer/Makefile +++ b/multimedia/mjpg-streamer/Makefile @@ -8,7 +8,7 @@ include $(TOPDIR)/rules.mk PKG_NAME:=mjpg-streamer PKG_REV:=182 PKG_VERSION:=r$(PKG_REV) -PKG_RELEASE:=8 +PKG_RELEASE:=9 PKG_MAINTAINER:=Roger D , \ Ted Hess diff --git a/multimedia/mjpg-streamer/files/mjpg-streamer.init b/multimedia/mjpg-streamer/files/mjpg-streamer.init index 06630d4233..b7c7ec38f0 100644 --- a/multimedia/mjpg-streamer/files/mjpg-streamer.init +++ b/multimedia/mjpg-streamer/files/mjpg-streamer.init @@ -84,6 +84,7 @@ start_instance() { procd_open_instance procd_set_param command "$PROG" --input "$input_arg" --output "$output_arg" + [ "x$output" = 'xhttp' ] && procd_add_mdns "http" "tcp" "$port" "daemon=mjpg-streamer" procd_close_instance }