Changes to WebUI:

- added support to the WebUI for 6 samples (125ms @ 48Khz) per packet in Source configuration
- enhanced remote source SDP listing in Sink configuration to display remote SDP source, address and name
This commit is contained in:
Andrea Bondavalli 2020-03-30 19:00:00 +02:00
parent 499bad529d
commit 71c0cc7656
2 changed files with 2 additions and 1 deletions

View File

@ -186,7 +186,7 @@ class SinkEdit extends Component {
<select value={this.state.sdp} onChange={this.onChangeRemoteSourceSDP} disabled={this.state.useSdp ? undefined : true}>
<option key='' value=''> -- select a remote source SDP -- </option>
{
this.state.sources.map((v) => <option key={v.id} value={v.sdp}>{v.source + ', ' + v.name}</option>)
this.state.sources.map((v) => <option key={v.id} value={v.sdp}>{v.source + ' from ' + v.address + ' - ' + v.name}</option>)
}
</select>
</th>

View File

@ -186,6 +186,7 @@ class SourceEdit extends Component {
<th align="left"> <label>Max samples per packet </label> </th>
<th align="left">
<select value={this.state.maxSamplesPerPacket} onChange={this.onChangeMaxSamplesPerPacket}>
<option value="6">6 - 125&mu;s@48Khz</option>
<option value="12">12 - 250&mu;s@48Khz</option>
<option value="16">16 - 333&mu;s@48Khz</option>
<option value="48">48 - 1ms@48Khz</option>