diff --git a/server/server_config.js b/server/server_config.js index 5374e9b..ed603f6 100644 --- a/server/server_config.js +++ b/server/server_config.js @@ -125,7 +125,7 @@ let serverConfig = { antennaNoUsersDelay: false, trustedProxies: [], webRtc: { - flags: {disable3las: false}, + flags: {disablews: false}, audio: {} } }; diff --git a/views/setup.ejs b/views/setup.ejs index 5ca4e7e..227ae8e 100644 --- a/views/setup.ejs +++ b/views/setup.ejs @@ -13,526 +13,59 @@
-Online users
-Memory usage
-Uptime
-Online users
| IP Address | -Location | -Online since | -- |
|---|---|---|---|
| - - <%= user.ip.replace('::ffff:', '') %> - - | -- <%= user.location %><% if (user.isp) { %> (<%= user.isp %>)<% } %> - | -<%= user.time %> | -Kick | -
| No users online | -|||
Memory usage
<%= log %>- <% }); %> -
No console output available.
- <% } %> -Uptime
Your audio device port.
- This is where your tuner is plugged in.
-
Audio channel count.
- Choose between Mono / Stereo.
-
The bitrate of the mp3 audio.
- Minimum: 64 Kbps • Maximum: 320 Kbps
-
If you want to limit which frequencies the users can tune to,
you can set the lower and upper limit here.
- Enter frequencies in MHz.
-
You can set up to 4 presets.
These presets are accessible with the F1-F4 buttons.
- Enter frequencies in MHz.
You can switch between American (RBDS) / Global (RDS) mode here.
- <%- include('_components', {component: 'checkbox', cssClass: 'bottom-20', iconClass: '', label: 'American RDS mode (RBDS)', id: 'webserver-rdsMode'}) %> -If no data is received, RDS will be automatically cleared after a timeout.
- Enter timeout in seconds or 0 to disable.
Different modes may help with more accurate transmitter identification depending on your region.
- <%- include('_components', { component: 'dropdown', id: 'server-tx-id-algo', inputId: 'webserver-txIdAlgorithm', label: 'Transmitter ID Algorithm', cssClass: '', placeholder: 'Algorithm 1', - options: [ - { value: '0', label: 'Algorithm 1' }, - { value: '1', label: 'Algorithm 2' }, - { value: '2', label: 'Algorithm 3' }, - ] - }) %> -If you want to choose the serial port directly, choose "Direct".
If you use xdrd or your receiver is connected via Wi-Fi, choose TCP/IP.
Choose your desired serial port
If you are connecting your tuner wirelessly, enter the tuner IP.
If you use xdrd, use 127.0.0.1 as your IP.
Bandwidth switch allows the user to set the bandwidth manually.
- <%- include('_components', {component: 'checkbox', cssClass: '', label: 'Bandwidth switch', id: 'bwSwitch'}) %>Toggling this option will put the tuner to sleep when no clients are connected.
- <%- include('_components', {component: 'checkbox', cssClass: '', label: 'Auto-shutdown', id: 'autoShutdown'}) %>Allow users to change SI47XX AGC mode from the main UI.
- <%- include('_components', {component: 'checkbox', cssClass: '', label: 'Enable AGC control', id: 'si47xx-agcControl'}) %>Any compatible .js plugin, which is in the "plugins" folder, will be listed here.
- Click on the individual plugins to enable/disable them.
Set your tuner name and description here.
This info will be visible to anyone who tunes in.
If your location information is filled,
you can add your tuner to a public list.
Check your tuner at servers.fmdx.org.
-By activating the Broadcast to map option,
you agree to the Terms of Service.
Location info is useful for automatic identification of stations using RDS.
- - <%- include('_components', {component: 'text', cssClass: 'w-150 br-15', placeholder: '', label: 'Latitude', id: 'identification-lat'}) %> - <%- include('_components', {component: 'text', cssClass: 'w-150 br-15', placeholder: '', label: 'Longitude', id: 'identification-lon'}) %> - - -If you have users that don't behave on your server, you can choose to ban them by their IP address.
- You can see their IP address by hovering over their nickname. One IP per row.
| IP Address | Location | -Ban date | -Reason | -+ | Online since | +|||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|
| <%- include('_components', {component: 'text', cssClass: 'w-100 br-15', placeholder: 'IP address', label: '', id: 'banlist-add-ip'}) %> | -- | - | <%- include('_components', {component: 'text', cssClass: 'w-150 br-15', placeholder: 'Ban reason (note)', label: '', id: 'banlist-add-reason'}) %> | -- - | -||||||||
| <%= bannedUser[0] %> | -<%= bannedUser[1] %> | -<%= new Date(parseInt(bannedUser[2])).toLocaleString() %> | -<%= bannedUser[3] %> | - <% } else { %> - -<%= bannedUser %> | -Unknown | -Unknown | -Unknown | - <% } %> -+ | + + <%= user.ip.replace('::ffff:', '') %> + + | ++ <%= user.location %><% if (user.isp) { %> (<%= user.isp %>)<% } %> + | +<%= user.time %> | +Kick |
| The banlist is empty. | +No users online | |||||||||||