I am having too long stuck on libvlc.MediaMplayer.stop() or libvlc.MediaMplayer.release(), when playing HLS streams from low speed or unstable streaming servers.
Time period it takes to return from stop() or release() is from ~2 seconds up-to 3 minutes.
I can see that it stuck in:
Code: Select all
vlc / modules / demux / adaptive / http / Downloader.cpp
Code: Select all
void Downloader::cancel(HTTPChunkBufferedSource *source)
Code: Select all
vlc_mutex_lock(&lock);
Code: Select all
void HTTPConnectionManager::cancel(AbstractChunkSource *source)
I was trying to use options:
--network-caching=100
--http-caching=100
--ipv4-timeout=100
--adaptive-use-access
--no-adaptive-use-access
--preparse-playlist=100
...
Nothing helped
Could someone help me to solve the issue or where should I search.
Regards