Page 1 of 1

Reducing stream buffer

Posted: 17 Feb 2010 21:57
by gianluca.91
Hi, i'm developping an application using libVLC integrated in QT environment. I want to play a real-time stream from ipcam, but the buffer introducing 3 second delay. I tried to reduce the buffer in VLC and it works perfectly. What can i do for reducing the buffer using libVLC? I'm using QT4.6 and QT creator (C++)

Re: Reducing stream buffer

Posted: 18 Feb 2010 18:52
by RĂ©mi Denis-Courmont
Set v4l2-caching -or whatever depending on your input- to a lower value (milliseconds) when initializing LibVLC (libvlc_new())