Git Product home page Git Product logo

Comments (5)

bondagit avatar bondagit commented on June 13, 2024

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:
AVIO_Sink_Latency_1msec
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.

bondagit avatar bondagit commented on June 13, 2024

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.

bondagit avatar bondagit commented on June 13, 2024

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:
Cattura1

The pictures below show the EBU List tool stream analysis:
Cattura5
Cattura2
Cattura3
Cattura4

from aes67-linux-daemon.

bondagit avatar bondagit commented on June 13, 2024

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.

bondagit avatar bondagit commented on June 13, 2024

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)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.