Added note on PulseAudio plus minor chnages
This commit is contained in:
parent
d1d7299545
commit
abb07d687a
12
README.md
12
README.md
@ -64,7 +64,7 @@ The daemon has been tested on **Ubuntu 18.04** and **19.10** using:
|
||||
* mpm version >= 3.5.2
|
||||
* boost libraries version >= 1.65.1
|
||||
|
||||
The [ubuntu-packages.sh](ubuntu-packages.sh) script can be used to install all the packages required to compile and run the AES67 daemon, the daemon tests and the [demo](#demo). See [script notes](#notes).
|
||||
The [ubuntu-packages.sh](ubuntu-packages.sh) script can be used to install all the packages required to compile and run the AES67 daemon, the daemon tests and the [demo](#demo). See [PulseAudio and scripts notes](#notes).
|
||||
|
||||
## How to build ##
|
||||
To compile the AES67 daemon and the WebUI use the [build.sh](build.sh) script. See [script notes](#notes).
|
||||
@ -82,7 +82,7 @@ To run a simple demo use the [run\_demo.sh](run_demo.sh) script. See [script not
|
||||
The demo performs the following operations:
|
||||
|
||||
* setup system parameters
|
||||
* stop pulse audio, this uses and keeps busy the ALSA playback and capture devices causing troubles
|
||||
* stop PulseAudio, this uses and keeps busy the ALSA playback and capture devices causing instability problems. See [PulseAudio](#notes).
|
||||
* install the ALSA RAVENNA/AES67 module
|
||||
* start the ptp4l as master clock on the network loopback device
|
||||
* start the AES67 daemon and creates a source and a sink according to the status file in the demo directory
|
||||
@ -94,6 +94,10 @@ The demo performs the following operations:
|
||||
|
||||
## Notes ##
|
||||
<a name="notes"></a>
|
||||
* All the scripts in this repository are provided as a reference to help setting up the system and run a simple demo.
|
||||
They have been tested on **Ubuntu 18.04** and **19.10** distros only.
|
||||
|
||||
* All the scripts in this repository are provided as a reference to help setting up the system and run a simple demo.
|
||||
They have been tested on **Ubuntu 18.04** and **19.10** distros only.
|
||||
* PulseAudio can create instability problems.
|
||||
Before running the daemon verify that PulseAudio is not running with *ps ax | grep pulseaudio*
|
||||
In case it's running try to execute the script *daemon/scripts/disable_pulseaudio.sh* to stop it. If after this the process is still alive consider renaming the executable with *sudo mv /usr/bin/pulseaudio /usr/bin/_pulseaudio* and reboot the system.
|
||||
|
||||
|
40
cleanup.sh
40
cleanup.sh
@ -3,26 +3,26 @@
|
||||
rm -rf 3rdparty/ravenna-alsa-lkm
|
||||
rm -rf 3rdparty/cpp-httplib
|
||||
|
||||
rm -rf daemon/status.json
|
||||
rm -rf daemon/CMakeFiles
|
||||
rm -rf daemon/Makefile
|
||||
rm -rf daemon/CMakeCache.txt
|
||||
rm -rf daemon/cmake_install.cmake
|
||||
rm -rf daemon/CTestTestfile.cmake
|
||||
rm -rf daemon/Testing
|
||||
rm -rf daemon/aes67-daemon
|
||||
rm -rf daemon/tests/CMakeFiles
|
||||
rm -rf daemon/tests/Makefile
|
||||
rm -rf daemon/tests/CMakeCache.txt
|
||||
rm -rf daemon/tests/cmake_install.cmake
|
||||
rm -rf daemon/tests/CTestTestfile.cmake
|
||||
rm -rf daemon/tests/Testing
|
||||
rm -rf daemon/tests/daemon-test
|
||||
rm -f daemon/status.json
|
||||
rm -f daemon/CMakeFiles
|
||||
rm -f daemon/Makefile
|
||||
rm -f daemon/CMakeCache.txt
|
||||
rm -f daemon/cmake_install.cmake
|
||||
rm -f daemon/CTestTestfile.cmake
|
||||
rm -f daemon/Testing
|
||||
rm -f daemon/aes67-daemon
|
||||
rm -f daemon/tests/CMakeFiles
|
||||
rm -f daemon/tests/Makefile
|
||||
rm -f daemon/tests/CMakeCache.txt
|
||||
rm -f daemon/tests/cmake_install.cmake
|
||||
rm -f daemon/tests/CTestTestfile.cmake
|
||||
rm -f daemon/tests/Testing
|
||||
rm -f daemon/tests/daemon-test
|
||||
|
||||
rm -rf demo/sink-test.wav
|
||||
rm -f demo/sink-test.wav
|
||||
|
||||
rm -rf webui/build
|
||||
rm -rf webui/node_modules
|
||||
rm -rf webui/*.log
|
||||
rm -rf webui/package-lock.json
|
||||
rm -f webui/build
|
||||
rm -f webui/node_modules
|
||||
rm -f webui/*.log
|
||||
rm -f webui/package-lock.json
|
||||
|
||||
|
@ -202,7 +202,7 @@ where:
|
||||
> In case of a high value of *tic_frame_size_at_1fs*, this must be set to 8192.
|
||||
|
||||
> **sap\_interval**
|
||||
> JSON number specifying the SAP interval to use. Use 0 for automatic and RFC compliant interval. Default is 30secs.
|
||||
> JSON number specifying the SAP interval in seconds to use. Use 0 for automatic and RFC compliant interval. Default is 30secs.
|
||||
|
||||
> **mac\_addr**
|
||||
> JSON string specifying the MAC address of the specified network device.
|
||||
@ -281,7 +281,7 @@ where:
|
||||
> A reference clock source is traceable if it is known to be delivering traceable time.
|
||||
|
||||
> **map**
|
||||
> JSON array of integers specifying the mapping between the RTP source and the ALSA playback device channels used during playback. The length of this map determines number of channels of the source.
|
||||
> JSON array of integers specifying the mapping between the RTP source and the ALSA playback device channels used during playback. The length of this map determines the number of channels of the source.
|
||||
|
||||
### RTP source SDP<a name="rtp-source-sdp"></a> ###
|
||||
|
||||
@ -344,7 +344,7 @@ where:
|
||||
> JSON boolean specifying whether the grand master reference clock ID specified in the SDP file of the source must be compared with the master reference clock to which the current PTP slave clock is syncronized.
|
||||
|
||||
> **map**
|
||||
> JSON array of integers specifying the mapping between the RTP sink and the ALSA capture device channels used during recording. The length of this map determines number of channels of the sink.
|
||||
> JSON array of integers specifying the mapping between the RTP sink and the ALSA capture device channels used during recording. The length of this map determines the number of channels of the sink.
|
||||
|
||||
### JSON RTP sink status<a name="rtp-sink-status"></a> ###
|
||||
|
||||
|
@ -135,7 +135,7 @@ class Config extends Component {
|
||||
<th align="left"> <input type='number' min='192' max='8192' className='input-number' value={this.state.maxTicFrameSize} onChange={e => this.setState({maxTicFrameSize: e.target.value, maxTicFrameSizeErr: !e.currentTarget.checkValidity()})} disabled required/> </th>
|
||||
</tr>
|
||||
<tr>
|
||||
<th align="left"> <label>Default Sample rate</label> </th>
|
||||
<th align="left"> <label>Initial Sample rate</label> </th>
|
||||
<th align="left">
|
||||
<select value={this.state.sampleRate} onChange={e => this.setState({sampleRate: e.target.value})}>
|
||||
<option value="44100">44.1 kHz</option>
|
||||
@ -161,7 +161,7 @@ class Config extends Component {
|
||||
<th align="left"> <input type='number' min='1024' max='65536' className='input-number' value={this.state.rtpPort} onChange={e => this.setState({rtpPort: e.target.value, rtpPortErr: !e.currentTarget.checkValidity()})} required/> </th>
|
||||
</tr>
|
||||
<tr>
|
||||
<th align="left"> <label>SAP interval (ms)</label> </th>
|
||||
<th align="left"> <label>SAP interval (sec)</label> </th>
|
||||
<th align="left"> <input type='number' min='0' max='255' className='input-number' value={this.state.sapInterval} onChange={e => this.setState({sapInterval: e.target.value, sapIntervalErr: !e.currentTarget.checkValidity()})} required/> </th>
|
||||
</tr>
|
||||
<tr>
|
||||
|
Loading…
x
Reference in New Issue
Block a user