Page 1 of 1

Check if playback is behind live stream

Posted: 31 Dec 2015 05:22
by jcvamp
Hi.

I'm using VB.net to make a program that plays live streams. I've found that it's possible to pause the video, and also change the playback speed, meaning that you can catch back up with the live stream. However, as input.position and input.time return 0, I don't know how to check when the playback has caught back up to the live stream.

Any ideas?

Re: Check if playback is behind live stream

Posted: 31 Dec 2015 14:47
by da2424
vlc.input.time also returns 0?
Which version of VLC do you use?
In the most of cases, vlc.input.time should return a relative time.

Re: Check if playback is behind live stream

Posted: 12 Jan 2016 20:08
by jcvamp
vlc.input.time also returns 0?
Yup.
Which version of VLC do you use?
2.2.1

Re: Check if playback is behind live stream

Posted: 12 Jan 2016 22:00
by da2424
If vlc.input.time also returns 0, you will not really have a chance to get the current position.
You could try vlc version 2.2.2 or v3

Re: Check if playback is behind live stream

Posted: 14 Jan 2016 13:08
by jcvamp
Where can I download those versions?

Re: Check if playback is behind live stream

Posted: 14 Jan 2016 14:12
by da2424
These versions are available here:
http://nightlies.videolan.org/

Re: Check if playback is behind live stream

Posted: 15 Jan 2016 04:31
by jcvamp
Thanks.