Request timeout question

Hi everyone,

I’m currently working on an application that takes a Live RTSP stream and publishes it as a LiveSmoothStreaming endpoint.

Everything works fine until the source terminates the stream and causes all connected clients hang and to time-out after 12 seconds. I currently get a “HTTPStreamerAdapterSmoothStreamer.service: Request timeout: 12000” and it looks like this is what is preventing the clients from effectively terminating on time.

My question is if there lower this time-out value to a more manageable value?

Thanks!

Hello there,

I believe you can change them on a per-application basis by adding the following properties to HTTPStreamer/Properties:

<Property>
	<Name>newSessionTimeout</Name>
	<Value>8000</Value>
	<Type>Integer</Type>
</Property>
<Property>
	<Name>validSessionTimeout</Name>
	<Value>25000</Value>
	<Type>Integer</Type>
</Property>
<Property>
	<Name>requestTimeout</Name>
	<Value>12000</Value>
	<Type>Integer</Type>
</Property>
<Property>
	<Name>tcpTimeToLive</Name>
	<Value>9000</Value>
	<Type>Integer</Type>
</Property>
<Property>
	<Name>tcpKeepAliveTimeout</Name>
	<Value>9000</Value>
	<Type>Integer</Type>
</Property>

Please see this forum post for more details.

I hope this helps.

Salvadore