Comments (5)
The 4.4ms average latency problem is related to the following daemon parameter:
"tic_frame_size_at_1fs": 192
This setting specifies the PTP TIC frame size used by the driver that affects the period of driver base timer.
With a value of 192 samples the driver base timer is set to 4ms and outgoing RTP packets are sent to the network interface every 4ms causing the 4,4ms average latency observed.
By changing the daemon parameter to the following value in daemon.conf
"tic_frame_size_at_1fs": 48
the driver base timer is set to 1ms and the DANTE AVIO USB reports the following measurements:
The attempt to record the source using Dante AVIO USB is now successfull and returns a correct audio file.
With a tic_frame_size_at_1fs of 192 samples a user is able to configure Sources at 48Khz with a max number of samples ranging from 125μs (6 samples) to 4ms (192 samples). These sources will be affected by a 4ms latency.
With a tic_frame_size_at_1fs of 48 samples a user is able to configure sources at 48Khz with a max number of samples ranging from 125μs (6 samples) to 1ms (48 samples) and these will be affected by a 1ms latency.
The tic_frame_size_at_1fs daemon parameter can also be set to lower values (16, 12, 6) but this might affect the stability.
from aes67-linux-daemon.
To simplify the daemon configuration I improved the handling of tic_frame_size_at_1fs daemon parameter, added the possibility to configure it with the WebUI and updated the documentation.
The new daemon default for the tic_frame_size_at_1fs parameter is now set to 48 (1 ms).
See 745fa05
from aes67-linux-daemon.
After installing the Ubuntu 19.10 distro directly on my x86 PC, an Intel [email protected] (no Virtual Machines), I could produce a fully complaint 8 channels RTP stream at L24@48KHz.
This PC has a Realtek PCIe Gibabit ethenet NIC connected to a Gigabit Ethernet port of a Netgear GS108 switch.
The picture below shows the Wireshark RTP stream analysis:
The pictures below show the EBU List tool stream analysis:
from aes67-linux-daemon.
I further improved the WebUI to allow the configuration of the tic_frame_size_at_1fs daemon parameter to 6, 12, 18, 24, 48, 96 and 192 samples and to automatically compute the allowed Sources max frames per packet and the resulting frame duration. See 07c2b35.
Note: Using the PC and OS described above I couldn't achieve a stable driver configuration with a tic_frame_size_at_1fs of 6 samples.
from aes67-linux-daemon.
I just got confirmation that DANTE AVIO USB can properly playback 2 and 8 channels of a daemon Source configured with sample rate of 48 Khz and 1 ms frame duration.
from aes67-linux-daemon.
Related Issues (20)
- Test run recording problem HOT 6
- Use AES67 in centos HOT 2
- Yes of course. There is no dependency between the daemon and the Linux distro. HOT 1
- No sound with Hasseb Audio over Ethernet Pro HOT 19
- PTP timestamps accesiblity HOT 2
- Build warning; object size HOT 2
- aplay -l not showing other source or sink i added HOT 2
- Status in Dante Controller stays as "prohibited" HOT 5
- Lawo ravenna streams not receiving HOT 2
- Can't start service after install and some else... HOT 10
- Instructions for simple setup HOT 12
- Add RTP Sink > Better Error Handling? HOT 6
- Pipewire-aes67 module compatibility HOT 6
- Driver install does not work HOT 1
- Raspberry Pi compatibility and performance HOT 4
- Can Not Build on Ubuntu 22.04 HOT 9
- Multiple AES daemon? HOT 2
- modprobe: ERROR: could not insert 'MergingRavennaALSA': No such device HOT 3
- PTP locking problem on kernel 6.8.2 (Arch LInux) HOT 1
- [Question] Can I run Dante-based multichannel setups (w/ Pipewire) ? HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from aes67-linux-daemon.