Skip to content

end to end latency over 50ms #53

@steeley

Description

@steeley

Have a system playing from a Raspberry PI CM4 with cm4 I/o board for ethernet. AesS67 daemon 1.31.
I ran the auto test routine on this AES67 cm4 and it passed ok.
Using a second PI as PTP clock via new d-link gigabit switch. Using MacBook Pro (Big Sur) with Merging/Ravenna Virtual audio device. Everything is locked together and speaker test works, and I can play audio files and RX the streams on the MacBook without clicks or dropouts.
However, the latency is about 1.2 sec!

SDP file from the AES57 sink/playout seems to work:
`v=0
o=- 2831165442 2831165444 IN IP4 192.168.2.40
s=AES67 daemon a8c02802 ALSA Source 0
c=IN IP4 239.255.0.10/15
t=0 0
a=clock-domain:PTPv2 0
m=audio 5004 RTP/AVP 98
c=IN IP4 239.255.0.10/15
a=rtpmap:98 L24/48000/2
a=sync-time:0
a=framecount:48
a=ptime:1
a=mediaclk:direct=0
a=ts-refclk:ptp=IEEE1588-2008:E4-5F-01-FF-FE-23-C2-20:0
a=recvonly

`
I tried not using Merging/Ravenna VAD and tried some command line FFMPEG and gstreamer stuff which works fine
but I always get circa 1.2 sec playback delay.

I also tried using a gstreamer command on the CM4 that is the player and sending to both the local audio output and plughw:RAVENNA at the same time. This works but the latency here is 1.2s, so maybe thats the problem?

Thanks.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions