Streaming latency
Posted: 19 Oct 2006 02:16
Hello,
I'm using VLC 0.8.5 as a MPEG4 streaming client using the UDP protocol. I have a separate server that does the MPEG4 encoding through the hardware. I'm currently getting a latency of about 1.2 seconds (sometimes a little more and sometimes a little less) with the caching values set to 30ms.
I've even played with different DEFAULT_PTS_DELAY and CLOCK_FREQ values but that didn't help at all (values too small will cause VLC to crash too). I know the problem is not on the server side because I can replace with VLC with another streaming client and the latency goes down to roughly 300ms.
I'm writing to find out if anyone has successfully in reducing the latency to around 500ms. Please let me know.
Thanks,
Shane
I'm using VLC 0.8.5 as a MPEG4 streaming client using the UDP protocol. I have a separate server that does the MPEG4 encoding through the hardware. I'm currently getting a latency of about 1.2 seconds (sometimes a little more and sometimes a little less) with the caching values set to 30ms.
I've even played with different DEFAULT_PTS_DELAY and CLOCK_FREQ values but that didn't help at all (values too small will cause VLC to crash too). I know the problem is not on the server side because I can replace with VLC with another streaming client and the latency goes down to roughly 300ms.
I'm writing to find out if anyone has successfully in reducing the latency to around 500ms. Please let me know.
Thanks,
Shane