VLC keeps reconnecting
Posted: 31 Oct 2016 21:27
I've posted here before with an issue that is still not resolved but no one seems to know the problem. It's about using vlc to seek in a youtube stream. Most of the times it works, but when seek more than 5 times it's pretty much guarenteed to crash. (post here: https://forum.videolan.org/viewtopic.php?f=32&t=135778
Now I'm also using vlc to play a custom http stream. It connects to a tcp server and get the data it needs to stream. All good and well. Until I start seeking. Most of the times it will seek normally, generating a http header like this for example:
I return the data from which point it is requested and all is fine. However, sometimes it will make a request like above. Then when I start transmitting the data, it closes the connection and makes a new request, requesting for a byte range that is about 30kb further than the previous request which it closed.. Okay so start returning for that range and the same thing happens again.
Vlc generates the following each time it disconnects:
after having the above behaviour for about an hour the following output appeared:
These issues seem to be related as far as I can tell, because the Youtube problem also keeps reconnecting.
Anyone any idea?
Now I'm also using vlc to play a custom http stream. It connects to a tcp server and get the data it needs to stream. All good and well. Until I start seeking. Most of the times it will seek normally, generating a http header like this for example:
Code: Select all
User-Agent: VLC/2.2.4 LibVLC/2.2.4
Range: bytes=300251784-
Connection: close
Icy-MetaData: 1
Vlc generates the following each time it disconnects:
Code: Select all
[03a3cc64] core access warning: connection timed out
Code: Select all
[03a47fb4] core input error: ES_OUT_SET_(GROUP_)PCR is called too late (jitter of 920833 ms ignored)
[03a8ec8c] core decoder error: Could not get display date for timestamp 0
[03a8ec8c] core decoder error: Could not convert timestamp 0
[03a8ec8c] core decoder warning: early picture skipped
Anyone any idea?