Page 1 of 1

Audio streaming latency

Posted: 06 Feb 2019 12:03
by STod
Hi to all,

I'm running some audio tests with VLC. Specifically I have a Windows PC with an instance of VLC.
This VLC is configured to capture audio from a microphone and generate a RTP stream.
Configured with the following options:

Code: Select all

:sout=#transcode{vcodec=none,acodec=alaw,ab=64,channels=1,samplerate=8000}:rtp{dst=192.168.0.136,port=58000} :sout-keep
the cache is set to 10 ms

Code: Select all

:live-caching=10
Then I have a second Windows PC configured to receive an RTP audio stream. The cache is set to 100ms.

Code: Select all

:network-caching=100


The two PCs are in the same room .

So on the VLC configured to receive a stream I can hear what the other VLC transmits, but I realized that between the sending and the reception there is a delay of over half a second, despite the caches are setting at a relatively low value.

How can I reduce this delay?

Thank you
Matteo