Sessions
Settings for session capturing. Sessions for HLS, RTMP, SRT, HTTP, and FFmpeg are captured.
Configurations
enable (bool)
Set this value to true in order to enable session capturing.
By default this value is set to true
.
ip_ignorelist (array)
List of IP ranges in CIDR notation to ignore for session capturing. If either end of a connection falls into this list of IPs, the session will not be captured. For the environment variable provide a comma-separated list of IP ranges in CIDR notation.
By default this value is set to ["127.0.0.1/32","::1/128"]
.
session_timeout_sec (integer)
The timeout in seconds for an idle session. After this timeout the session is considered as closed. Applies only to HTTP and HLS sessions.
By default this value is set to 30
seconds.
persist (bool)
Whether to persist the session history. The session history is stored as sessions.json
in db.dir. If the session history is not persisted it will be kept only in memory.
By default the session history is not persisted, i.e. this value is set to false
.
persist_interval_sec (integer)
Interval in seconds in which to persist the current session history. This setting has only effect if persisting the session history is enabled.
By default this value is set to 300
seconds.
max_bitrate_mbit (unsigned integer)
The maximum allowed outgoing bitrate in mbit/s. If the limit is reached, any new HLS sessions will be rejected. A value of 0 means no limitation of the outgoing bitrate.
By default this is value is set to 0
, i.e. unlimited.
max_sessions (unsigned integer)
The maximum allowed number of simultaneous sessions. If the limit is reached, any new HLS sessions will be rejected. A value of 0 means no limitation of the number of sessions.
By default this value is set to 0, i.e. unlimited.
Last updated