Browse Source

mjpg-streamer: Add mdns support

Signed-off-by: Roger D <rogerdammit@gmail.com>
Signed-off-by: Ted Hess <thess@kitschensync.net>
lilik-openwrt-22.03
Ted Hess 7 years ago
parent
commit
c34edc2171
2 changed files with 2 additions and 1 deletions
  1. +1
    -1
      multimedia/mjpg-streamer/Makefile
  2. +1
    -0
      multimedia/mjpg-streamer/files/mjpg-streamer.init

+ 1
- 1
multimedia/mjpg-streamer/Makefile View File

@ -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>


+ 1
- 0
multimedia/mjpg-streamer/files/mjpg-streamer.init View File

@ -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…
Cancel
Save