diff options
-rw-r--r-- | applications/luci-uvc_streamer/luasrc/model/cbi/uvc_streamer.lua | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/applications/luci-uvc_streamer/luasrc/model/cbi/uvc_streamer.lua b/applications/luci-uvc_streamer/luasrc/model/cbi/uvc_streamer.lua index 2054185d4..2e0627ec8 100644 --- a/applications/luci-uvc_streamer/luasrc/model/cbi/uvc_streamer.lua +++ b/applications/luci-uvc_streamer/luasrc/model/cbi/uvc_streamer.lua @@ -21,6 +21,9 @@ local port uci:foreach( "uvc_streamer", "uvc_streamer", function(section) port = port or tonumber(section.port) end ) +addr = addr or "192.168.1.1" +port = port or 8080 + m = Map("uvc_streamer", translate("uvc_streamer"), translatef("uvc_streamer_desc", nil, addr, port, addr, port)) |