mirror of
https://github.com/novatiq/packages.git
synced 2026-04-30 15:38:40 +01:00
mjpg-streamer: Add mdns support
Signed-off-by: Roger D <rogerdammit@gmail.com> Signed-off-by: Ted Hess <thess@kitschensync.net>
This commit is contained in:
@@ -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 <rogerdammit@gmail.com>, \
|
||||
Ted Hess <thess@kitschensync.net>
|
||||
|
||||
|
||||
@@ -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
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user