TIMEOUT (JANUS DEFINE parameter)

From m204wiki
Jump to navigation Jump to search

TIMEOUT xxxx — Inactivity seconds when client will be disconnected

TIMEOUT is a parameter on JANUS DEFINE, which defines and sets characteristics of a Janus port.

This parameter specifies the number of seconds of inactivity after which clients connected to this port will be disconnected. The default for TIMEOUT is 0, which means that connections never time out.

WEBSERV ports Browser requests never involve waits on user input so the TIMEOUT parameter for WEBSERV ports involves terminating connections when network response is extremely slow or cases where the client workstation has been turned off before a response is received from Janus Web Server. Because of this, TIMEOUT can be set fairly aggressively for WEBSERV ports. A value of 60 (seconds) would be reasonable.
All other port types The TIMEOUT value should reflect the fact that a connection might require user input waits.

TIMEOUT is valid for all port types.

See also