TIMEOUT (JANUS DEFINE parameter)

From m204wiki
Revision as of 18:04, 1 November 2011 by JAL2 (talk | contribs)
Jump to navigation Jump to search

<section begin="desc" />TIMEOUT xxxx -- Inactivity seconds when client will be disconnected.<section end="desc" />

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

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.

For 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.
For 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.

References

See: List of Janus commands | List of JANUS DEFINE parameters.