1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
|
m = Map("uvc-streamer", translate("uvc_streamer"))
s = m:section(TypedSection, "uvc-streamer", translate("settings"))
s.addremove = false
s.anonymous = true
s:option(Flag, "enabled", translate("enabled", "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("framespersecond")).rmempty = true
s:option(Value, "port", translate("port", "Port")).rmempty = true
return m
|