Added more DSCP values for Audio Source and PTP in WebUI. See #40.

This commit is contained in:
Andrea Bondavalli 2021-11-09 16:34:59 +01:00
parent adc17b816c
commit 7ed2ad492c
3 changed files with 11 additions and 5 deletions

View File

@ -35,7 +35,7 @@ namespace po = boost::program_options;
namespace postyle = boost::program_options::command_line_style;
namespace logging = boost::log;
static std::string version("bondagit-1.3.1");
static std::string version("bondagit-1.3");
static std::atomic<bool> terminate = false;
void termination_handler(int signum) {

View File

@ -70,8 +70,12 @@ class PTPConfig extends Component {
<th align="left"> <label>DSCP</label> </th>
<th align="left">
<select value={this.state.dscp} onChange={e => this.setState({dscp: e.target.value})}>
<option value='46'>46 (EF)</option>
<option value='48'>48 (CS6)</option>
<option value="56">56 (CS7)</option>
<option value="48">48 (CS6)</option>
<option value="46">46 (EF)</option>
<option value="36">36 (AF42)</option>
<option value="34">34 (AF41)</option>
<option value="0">0 (BE)</option>
</select>
</th>
</tr>

View File

@ -278,10 +278,12 @@ class SourceEdit extends Component {
<th align="left"> <label>DSCP</label> </th>
<th align="left">
<select value={this.state.dscp} onChange={e => this.setState({dscp: e.target.value})}>
<option value="56">56 (CS7)</option>
<option value="48">48 (CS6)</option>
<option value="46">46 (EF)</option>
<option value="36">36 (AF42)</option>
<option value="34">34 (AF41)</option>
<option value="36">26 (AF31)</option>
<option value="48">0 (BE)</option>
<option value="0">0 (BE)</option>
</select>
</th>
</tr>