Page 1 of 1

How to shorten timeout when switching between dlna streams?

Posted: 11 Aug 2021 11:45
by layer1
Hi,

how can I lower the timeout when switching streams on a dlna server?

My usage scenario:
Using the actual vlc version on win 10.
I connect to a panasonic tv dlna stream in my local network via urls like "http://192.168.99.51:7501/TUNER-0004-00 ... -2889-1451", stored in a playlist.
This takes about 7 seconds until a new stream is started in vlc.
When I switch to another channel on the same dlna server, it takes the same amount of time.
Switching channels on the tv itself is much faster, I am using the integrated sat receiver.

Is there a way to speed this up?
I read something about a timeout while vlc detects the video format, but I cant find this setting in the config.
But I am not sure if this is the right way to solve this.

Please help :)

Thank you.

Re: How to shorten timeout when switching between dlna streams?

Posted: 13 Aug 2021 00:43
by layer1
Maybe the timeout is about caching the input stream, as it is a http connection?
In my case, i connect to a local http server, so the speed should be reliable and fast.
Is it possible to lower the cache amount for network connections in vlc?

Edit:
Setting the network cache time from default 5000ms to 10ms, restarting vlc, did not change the behavior.
Also using the command line parameters --udp-caching=50 --tcp-caching=50 --realrtsp-caching=50 did not help.

Edit2:
Now I tryed to put the options into the playlist file.

Code: Select all

<track> <location>http://192.168.99.51:7501/TUNER-0004-0001-03f2-2b8e-946e</location> <title>3sat HD</title> <extension application="http://www.videolan.org/vlc/playlist/0"> <vlc:option>http-caching=200</vlc:option> <vlc:option>network-caching=200</vlc:option> <vlc:option>udp-caching=200</vlc:option> <vlc:option>tcp-caching=200</vlc:option> <vlc:option>rtsp-caching=200</vlc:option> <vlc:option>realrtsp-caching=200</vlc:option> <vlc:id>0</vlc:id> </extension> </track>

That did not help either :(


I am open for new ideas :-)