Added UVC-Streamer application
[project/luci.git] / applications / luci-uvc_streamer / luasrc / model / cbi / uvc_streamer.lua
1 m = Map("uvc-streamer", translate("uvc_streamer"))
2
3 s = m:section(TypedSection, "uvc-streamer", translate("settings"))
4 s.addremove = false
5 s.anonymous = true
6
7 s:option(Flag, "enabled", translate("enabled", "Enable"))
8
9 s:option(Value, "device", translate("device")).rmempty = true
10
11 nm = s:option(Value, "resolution", translate("resolution"))
12 nm:value("640x480")
13 nm:value("320x240")
14 nm:value("160x120")
15
16 s:option(Value, "framespersecond", translate("framespersecond")).rmempty = true
17
18 s:option(Value, "port", translate("port", "Port")).rmempty = true
19
20 return m