Buffer Variable

Discuss your Lua playlist, album art and interface scripts.
khuankhuan
Blank Cone
Blank Cone
Posts: 13
Joined: 02 Nov 2011 17:34

Buffer Variable

Postby khuankhuan » 06 Mar 2012 13:30

Hi, I am trying to detect the buffer in VLC when receiving a rtp-ts stream from a server, is there a buffer variable in VLC that I can use to check the content of the buffer? Can I achieve this by using lua? Thanks

khuankhuan
Blank Cone
Blank Cone
Posts: 13
Joined: 02 Nov 2011 17:34

Re: Buffer Variable

Postby khuankhuan » 06 Mar 2012 13:32

I see that there is this "cache" (level of data cached [0 .. 1]) at the input variable TODO list, may I know has it been implemented? Are this the buffer used by VLC for the input stream?

khuankhuan
Blank Cone
Blank Cone
Posts: 13
Joined: 02 Nov 2011 17:34

Re: Buffer Variable

Postby khuankhuan » 06 Mar 2012 14:08

Ok, I tried checking this "cache" value from lua, it is the main input buffering value (expressed in percentage), however when I stop the stream from the server, and the client plays the remaining buffer until it stops, why the "cache" value is still 1?

Help are much needed here thanks.

vschiavoni
New Cone
New Cone
Posts: 3
Joined: 06 Feb 2013 14:41

Re: Buffer Variable

Postby vschiavoni » 27 May 2013 00:00

Did you find out eventually ? I'm interested.
Thanks.


Return to “Scripting VLC in lua”

Who is online

Users browsing this forum: No registered users and 21 guests