How to increse the wait time out during describe command

For questions and discussion that is NOT (I repeat NOT) specific to a certain Operating System.
srinutry
New Cone
New Cone
Posts: 5
Joined: 24 Jan 2011 15:22

How to increse the wait time out during describe command

Postby srinutry » 24 Jan 2011 15:46

Hi,

I am facing an issue after sending the Desribe command from the VLC client.
I am using the modified Darwin streaming server as server.
When a VLC client issues a Describe request my modified streaming server sends the information with a delay of around 30 seconds.
Due to this delay VLC client is not able to stream the file.
But if the delay in the server is less than 5 seconds I could able to stream the file properly.
I would like to know how can I increase the wait time in VLC client side so that it waits till the server sends the Describe response,
and could able to continue streaming without failing?


Thanks and regards,
Srinivas G

Sébastien Escudier
Big Cone-huna
Big Cone-huna
Posts: 853
Joined: 06 Nov 2008 08:38
Operating System: linux

Re: How to increse the wait time out during describe command

Postby Sébastien Escudier » 24 Jan 2011 15:59

you can use the option ipv4-timeout
But it will freeze vlc while the answer is not received.

srinutry
New Cone
New Cone
Posts: 5
Joined: 24 Jan 2011 15:22

Re: How to increse the wait time out during describe command

Postby srinutry » 25 Jan 2011 06:47

How can I increase the ipv4-timeout?

Sébastien Escudier
Big Cone-huna
Big Cone-huna
Posts: 853
Joined: 06 Nov 2008 08:38
Operating System: linux

Re: How to increse the wait time out during describe command

Postby Sébastien Escudier » 25 Jan 2011 08:52

the option is in milliseconds, so for 30s timeout :
command line :

Code: Select all

--ipv4-timeout=30000
GUI : open network stream -> show more options -> Edit options, add :

Code: Select all

:ipv4-timeout=30000

srinutry
New Cone
New Cone
Posts: 5
Joined: 24 Jan 2011 15:22

Re: How to increse the wait time out during describe command

Postby srinutry » 25 Jan 2011 10:12

Hi Sebastien,
Thanks for your quick reply. But even with this option also I am not able to stream the file.
From the ethereal log I could see first OPTIONS message and then Describe message is sent from the client side.
Then I could see an OPTIONS message again sent from client side after 5.1 seconds.
After 6.2 seconds (from the time of sending the Describe message) the client getting the Describe response from server.
Then sending the response for 2nd OPTIONS message response.
After this I could not able to see any SETUP or PLAY message from VLC client to the server and so server is not sending sending any packets.
How can I resolve this issue at the client side,if the describe response by server is delayed by more than 5 seconds and VLC client is discording the server response.

Thanks and Regards,
Srinivas G

Sébastien Escudier
Big Cone-huna
Big Cone-huna
Posts: 853
Joined: 06 Nov 2008 08:38
Operating System: linux

Re: How to increse the wait time out during describe command

Postby Sébastien Escudier » 25 Jan 2011 14:12

what version of vlc do you have, what is your OS ?

srinutry
New Cone
New Cone
Posts: 5
Joined: 24 Jan 2011 15:22

Re: How to increse the wait time out during describe command

Postby srinutry » 25 Jan 2011 17:41

Hi,

I am using 1.1.5 VLC player version in Windows XP machine.
I am facing the similar issue in IPAD also.

Thanks and Regards,
Srinivas G

Sébastien Escudier
Big Cone-huna
Big Cone-huna
Posts: 853
Joined: 06 Nov 2008 08:38
Operating System: linux

Re: How to increse the wait time out during describe command

Postby Sébastien Escudier » 26 Jan 2011 08:47

I just tested and here is what happens with a DESCRIBE delayed of 20s server side, and a ipv4-timeout=30000 client side.

client sends option
server reply option
client sends describe
20s nothing happens
server reply describe

the video is playing...
double check you did put ipv4-timeout option (syntax is important, see my provious post on command line or gui) larger than the delay on the server. And be carefull with milliseconds...

srinutry
New Cone
New Cone
Posts: 5
Joined: 24 Jan 2011 15:22

Re: How to increse the wait time out during describe command

Postby srinutry » 27 Jan 2011 15:31

Hi Sebastien,

Thanks for your response now streaming is working fine for me.
I have a default option :file-caching=2500 in VLC client. If I place the timeout option :ipv4-timeout=30000 after the default option I could not able to stream.
If I place the timeout option at the beginning then I could able to stream properly.

Now I need to know how can i configure this time out parameter in IPAD VLC client?

Thanks and regards,
Srinivas G

Sébastien Escudier
Big Cone-huna
Big Cone-huna
Posts: 853
Joined: 06 Nov 2008 08:38
Operating System: linux

Re: How to increse the wait time out during describe command

Postby Sébastien Escudier » 27 Jan 2011 15:42

You have to click on open network stream, then you type the url like : rtsp://.........
When you do that the option field changes and a new rtsp-caching option appears.
You have to add the ipv4-timeout after you entered the url. And there should not be any file-caching option.

I don't know the ipad version of vlc and I don't know if it is feasible.


Return to “General VLC media player Troubleshooting”

Who is online

Users browsing this forum: No registered users and 40 guests