1# This configures the sample event handler. Since this plugin simply
2# forwards each event it receives via HTTP POST, you simply need to
3# configure (i) which events to subscribe to, and (ii) the address of
4# the web server which will receive the requests.
5
6general: {
7	enabled = false		# By default the module is not enabled
8	events = "all"		# Comma separated list of the events mask you're interested
9						# in. Valid values are none, sessions, handles, jsep, webrtc,
10						# media, plugins, transports, core, external and all. By
11						# default we subscribe to everything (all)
12	grouping = true		# Whether events should be sent individually (one per
13						# HTTP POST, JSON object), or if it's ok to group them
14						# (one or more per HTTP POST, JSON array with objects)
15						# The default is 'yes' to limit the number of connections.
16	json = "indented"	# Whether the JSON messages should be indented (default),
17						# plain (no indentation) or compact (no indentation and no spaces)
18
19	#compress = true	# Optionally, the JSON messages can be compressed using zlib
20	#compression = 9	# In case, you can specify the compression factor, where 1 is
21						# the fastest (low compression), and 9 gives the best compression
22
23						# Address the plugin will send all events to as HTTP POST
24						# requests with an application/json payload. In case
25						# authentication is required to contact the backend, set
26						# the credentials as well (basic authentication only).
27	backend = "http://your.webserver.here/and/a/path"
28	#backend_user = "myuser"
29	#backend_pwd = "mypwd"
30
31						# You can also configure how retransmissions should
32						# happen, after a failed attempt to deliver an event.
33						# Specifically, you can specify how many times a
34						# retransmission should be attempted (default=5) and
35						# which step is used, in milliseconds, for the exponential
36						# backoff before retrying (e.g, if step=100ms, then the
37						# the first retry will happen after 100ms, the second
38						# after 200ms, then 400ms, and so on). If the event cannot
39						# be retransmitted after the maximum number of attemps
40						# is reached, then it's lost. Beware that retransmissions
41						# will also delay pending events and increase the queue.
42	#max_retransmissions = 5
43	#retransmissions_backoff = 100
44}
45