diff options
author | Jo-Philipp Wich <jow@openwrt.org> | 2010-03-07 18:42:12 +0000 |
---|---|---|
committer | Jo-Philipp Wich <jow@openwrt.org> | 2010-03-07 18:42:12 +0000 |
commit | 1973a023292d88fb87b3c9aa9d9f6495599f0be6 (patch) | |
tree | 64925bcdd0ea73526857b7d3a19cf54e84fa249d /applications/luci-uvc_streamer/luasrc/model/cbi | |
parent | 66fc0c4692401a5fc1e3633b58408fb5e7a20f63 (diff) |
trunk: drop uvc_stremaer support, package was removed upstream
Diffstat (limited to 'applications/luci-uvc_streamer/luasrc/model/cbi')
-rw-r--r-- | applications/luci-uvc_streamer/luasrc/model/cbi/uvc_streamer.lua | 47 |
1 files changed, 0 insertions, 47 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 deleted file mode 100644 index 469ea6f009..0000000000 --- a/applications/luci-uvc_streamer/luasrc/model/cbi/uvc_streamer.lua +++ /dev/null @@ -1,47 +0,0 @@ ---[[ - -LuCI UVC Streamer -(c) 2008 Yanira <forum-2008@email.de> - -Licensed under the Apache License, Version 2.0 (the "License"); -you may not use this file except in compliance with the License. -You may obtain a copy of the License at - - http://www.apache.org/licenses/LICENSE-2.0 - -$Id$ - -]]-- - --- find current lan address and port of first uvc_streamer config section -local uci = luci.model.uci.cursor_state() -local addr = uci:get("network", "lan", "ipaddr") -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("Webcam streaming"), - translatef("uvc_streamer_desc", nil, addr, port, addr, port)) - -s = m:section(TypedSection, "uvc-streamer", translate("Settings")) -s.addremove = false -s.anonymous = true - -s:option(Flag, "enabled", translate("Enable")) - -s:option(Value, "device", translate("Device")).rmempty = true - -nm = s:option(Value, "resolution", translate("Resolution")) -nm:value("640x480") -nm:value("320x240") -nm:value("160x120") - -s:option(Value, "framespersecond", translate("Frames per second")).rmempty = true - -s:option(Value, "port", translate("Port")).rmempty = true - -return m |