Page 1 of 1

Issues with Network Caching

Posted: 03 Nov 2024 20:06
by Matthew126
Hi everyone,

I'm transmitting an RTP stream containing a continuous tone to VLC (which needs to play it). I’ve noticed that when I set the network caching above 1000 ms, there are interruptions of about 1 second at the start, but then it works fine. Does anyone know why this might be happening and if there are any settings I can adjust to resolve the issue?

Thanks in advance for your help!
Matthew

Re: Issues with Network Caching

Posted: 04 Nov 2024 01:59
by Rémi Denis-Courmont
Audio problems at the start are usually caused by poor delay estimates from the audio output device driver. You can try to start VLC playback while another application is already rendering audio on the same device to see if that works around it (obviously not a practical solution but at least it helps narrowing down the problem).

Another possibility, because RTP is a live stream, is poor clock rate or jitter estimation from VLC in the beginning. To avoid that, you'd have to have a stable network and as short network caching buffer as possible.

Re: Issues with Network Caching

Posted: 04 Nov 2024 09:36
by Matthew126
Sorry, i forgot an important detail.. if i do this test on ubuntu 18.04 with VLC 3.0.8 this problem never occurs. If instead i move to higher versions of ubuntu and therefore also to more recent versions of VLC i always have this problem