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:
parent
e362d18580
commit
c34edc2171
|
@ -8,7 +8,7 @@ include $(TOPDIR)/rules.mk
|
||||||
PKG_NAME:=mjpg-streamer
|
PKG_NAME:=mjpg-streamer
|
||||||
PKG_REV:=182
|
PKG_REV:=182
|
||||||
PKG_VERSION:=r$(PKG_REV)
|
PKG_VERSION:=r$(PKG_REV)
|
||||||
PKG_RELEASE:=8
|
PKG_RELEASE:=9
|
||||||
PKG_MAINTAINER:=Roger D <rogerdammit@gmail.com>, \
|
PKG_MAINTAINER:=Roger D <rogerdammit@gmail.com>, \
|
||||||
Ted Hess <thess@kitschensync.net>
|
Ted Hess <thess@kitschensync.net>
|
||||||
|
|
||||||
|
|
|
@ -84,6 +84,7 @@ start_instance() {
|
||||||
|
|
||||||
procd_open_instance
|
procd_open_instance
|
||||||
procd_set_param command "$PROG" --input "$input_arg" --output "$output_arg"
|
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
|
procd_close_instance
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue