Reducing stream buffer

This forum is about all development around libVLC.
gianluca.91
New Cone
New Cone
Posts: 4
Joined: 17 Feb 2010 18:43

Reducing stream buffer

Postby gianluca.91 » 17 Feb 2010 21:57

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++)

Rémi Denis-Courmont
Developer
Developer
Posts: 15280
Joined: 07 Jun 2004 16:01
VLC version: master
Operating System: Linux
Contact:

Re: Reducing stream buffer

Postby Rémi Denis-Courmont » 18 Feb 2010 18:52

Set v4l2-caching -or whatever depending on your input- to a lower value (milliseconds) when initializing LibVLC (libvlc_new())
Rémi Denis-Courmont
https://www.remlab.net/
Private messages soliciting support will be systematically discarded


Return to “Development around libVLC”

Who is online

Users browsing this forum: No registered users and 26 guests