summaryrefslogtreecommitdiffhomepage
path: root/applications/luci-app-udpxy
diff options
context:
space:
mode:
Diffstat (limited to 'applications/luci-app-udpxy')
-rw-r--r--applications/luci-app-udpxy/htdocs/luci-static/resources/view/udpxy.js35
1 files changed, 22 insertions, 13 deletions
diff --git a/applications/luci-app-udpxy/htdocs/luci-static/resources/view/udpxy.js b/applications/luci-app-udpxy/htdocs/luci-static/resources/view/udpxy.js
index 9944f9ecdf..93aa9c2c88 100644
--- a/applications/luci-app-udpxy/htdocs/luci-static/resources/view/udpxy.js
+++ b/applications/luci-app-udpxy/htdocs/luci-static/resources/view/udpxy.js
@@ -7,7 +7,7 @@ return view.extend({
var m, s, o;
m = new form.Map('udpxy', _('udpxy'),
- _('udpxy is a UDP-to-HTTP multicast traffic relay daemon, here you can configure the settings.'));
+ _('udpxy is an IPTV stream relay, a UDP-to-HTTP multicast traffic relay daemon which forwards multicast UDP streams to HTTP clients.'));
s = m.section(form.TypedSection, 'udpxy');
s.anonymous = true;
@@ -22,39 +22,48 @@ return view.extend({
o = s.option(form.Flag, 'respawn', _('Respawn'));
o.default = o.disabled;
- o = s.option(form.Flag, 'verbose', _('Verbose'));
+ o = s.option(form.Flag, 'verbose', _('Verbose logging'));
o.default = o.disabled;
- o = s.option(form.Flag, 'status', _('Status'));
+ o = s.option(form.Flag, 'status', _('Client statistics'));
- o = s.option(form.Value, 'bind', _('Bind IP/Interface'));
+ o = s.option(form.Value, 'bind', _('HTTP Listen interface'));
o.datatype = 'or(ipaddr, network)';
+ o.placeholder = '0.0.0.0 || lan1';
- o = s.option(form.Value, 'port', _('Port'));
+ o = s.option(form.Value, 'port', _('Port'), _('Default') + ' : ' + '%s'.format('4022'));
o.datatype = 'port';
+ o.placeholder = '4022';
- o = s.option(form.Value, 'source', _('Source IP/Interface'));
+ o = s.option(form.Value, 'source', _('Multicast subscribe source interface'), _('Default') + ' : ' + '%s'.format('0.0.0.0'));
o.datatype = 'or(ipaddr, network)';
+ o.placeholder = '0.0.0.0 || br-lan';
- o = s.option(form.Value, 'max_clients', _('Max clients'));
+
+ o = s.option(form.Value, 'max_clients', _('Client amount upper limit'));
o.datatype = 'range(1, 5000)';
- o = s.option(form.Value, 'log_file', _('Log file'));
+ o = s.option(form.Value, 'log_file', _('Log file'), _('Default') + ' : <code>/var/log/udpxy</code>');
+ o.placeholder = '/var/log/udpxy';
- o = s.option(form.Value, 'buffer_size', _('Buffer size'));
- o.datatype = 'range(4096, 2097152)';
+ o = s.option(form.Value, 'buffer_size', _('Ingress buffer size'), _('Unit: bytes, Kb, Mb; Max 2097152 bytes'));
+ o.placeholder = '4Kb';
- o = s.option(form.Value, 'buffer_messages', _('Buffer messages'));
+ o = s.option(form.Value, 'buffer_messages', _('Buffer message amount'), _('-1 is all.'));
o.datatype = 'or(-1, and(min(1),uinteger))';
+ o.placeholder = '1';
- o = s.option(form.Value, 'buffer_time', _('Buffer time'));
+ o = s.option(form.Value, 'buffer_time', _('Buffer time limit'), _('-1 is unlimited.'));
o.datatype = 'or(-1, and(min(1),uinteger))';
+ o.placeholder = '1';
o = s.option(form.Value, 'nice_increment', _('Nice increment'));
o.datatype = 'or(and(max(-1),uinteger), and(min(1),uinteger))';
+ o.placeholder = '0';
- o = s.option(form.Value, 'mcsub_renew', _('Multicast subscription renew'));
+ o = s.option(form.Value, 'mcsub_renew', _('Renew multicast subscription periodicity'), _('Unit: seconds; 0 is skip.'));
o.datatype = 'or(0, range(30, 64000))';
+ o.placeholder = '0';
return m.render();
}