Skip to content

Commit

Permalink
update readme, track rata jcfg files
Browse files Browse the repository at this point in the history
  • Loading branch information
josezy committed Jun 23, 2022
1 parent 44cebfa commit 9d9d036
Show file tree
Hide file tree
Showing 18 changed files with 1,224 additions and 0 deletions.
4 changes: 4 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,7 @@

Starting Meetecho Janus (WebRTC Server) v0.11.4 ✅


# Janus docker-compose custom setup

```
Expand Down
21 changes: 21 additions & 0 deletions etc-rata/janus.eventhandler.gelfevh.jcfg
Original file line number Diff line number Diff line change
@@ -0,0 +1,21 @@
# This configures the GELF event handler. Appending necessary headers
# and sending messages via TCP or UDP

general: {
enabled = false # By default the module is not enabled
events = "all"
# Comma separated list of the events mask you're interested
# in. Valid values are none, sessions, handles, jsep, webrtc,
# media, plugins, transports, core, external and all. By
# default we subscribe to everything (all)

backend = "your.graylog.server" # DNS or IP of your Graylog server
port = "12201" # Port Graylog server is listening on
protocol = "tcp" # tcp or udp transport type
max_message_len = 1024 # Note that we add 12 bytes of headers + standard UDP headers (8 bytes)
# when calculating packet size based on MTU

#compress = true # Optionally, only for UDP transport, JSON messages can be compressed using zlib
#compression = 9 # In case, you can specify the compression factor, where 1 is
# the fastest (low compression), and 9 gives the best compression
}
44 changes: 44 additions & 0 deletions etc-rata/janus.eventhandler.sampleevh.jcfg
Original file line number Diff line number Diff line change
@@ -0,0 +1,44 @@
# This configures the sample event handler. Since this plugin simply
# forwards each event it receives via HTTP POST, you simply need to
# configure (i) which events to subscribe to, and (ii) the address of
# the web server which will receive the requests.

general: {
enabled = false # By default the module is not enabled
events = "all" # Comma separated list of the events mask you're interested
# in. Valid values are none, sessions, handles, jsep, webrtc,
# media, plugins, transports, core, external and all. By
# default we subscribe to everything (all)
grouping = true # Whether events should be sent individually (one per
# HTTP POST, JSON object), or if it's ok to group them
# (one or more per HTTP POST, JSON array with objects)
# The default is 'yes' to limit the number of connections.
json = "indented" # Whether the JSON messages should be indented (default),
# plain (no indentation) or compact (no indentation and no spaces)

#compress = true # Optionally, the JSON messages can be compressed using zlib
#compression = 9 # In case, you can specify the compression factor, where 1 is
# the fastest (low compression), and 9 gives the best compression

# Address the plugin will send all events to as HTTP POST
# requests with an application/json payload. In case
# authentication is required to contact the backend, set
# the credentials as well (basic authentication only).
backend = "http://your.webserver.here/and/a/path"
#backend_user = "myuser"
#backend_pwd = "mypwd"

# You can also configure how retransmissions should
# happen, after a failed attempt to deliver an event.
# Specifically, you can specify how many times a
# retransmission should be attempted (default=5) and
# which step is used, in milliseconds, for the exponential
# backoff before retrying (e.g, if step=100ms, then the
# the first retry will happen after 100ms, the second
# after 200ms, then 400ms, and so on). If the event cannot
# be retransmitted after the maximum number of attemps
# is reached, then it's lost. Beware that retransmissions
# will also delay pending events and increase the queue.
#max_retransmissions = 5
#retransmissions_backoff = 100
}
31 changes: 31 additions & 0 deletions etc-rata/janus.eventhandler.wsevh.jcfg
Original file line number Diff line number Diff line change
@@ -0,0 +1,31 @@
# This configures the WebSockets event handler. Since this plugin only
# forwards each event it receives via WebSockets, you simply need to
# configure (i) which events to subscribe to, and (ii) the address of
# the WebSockets server which will receive the requests.

general: {
enabled = false # By default the module is not enabled
events = "all" # Comma separated list of the events mask you're interested
# in. Valid values are none, sessions, handles, jsep, webrtc,
# media, plugins, transports, core, external and all. By
# default we subscribe to everything (all)
grouping = true # Whether events should be sent individually (one per
# HTTP POST, JSON object), or if it's ok to group them
# (one or more per HTTP POST, JSON array with objects)
# The default is 'yes' to limit the number of connections.

json = "indented" # Whether the JSON messages should be indented (default),
# plain (no indentation) or compact (no indentation and no spaces)

# Address the plugin will send all events to as WebSocket
# messages. In case authentication is required to contact
# the backend, set the credentials as well.
backend = "ws://your.websocket.here"
# subprotocol = "your-subprotocol"

# In case you need to debug connection issues, you can configure
# the libwebsockets debugging level as a comma separated list of things
# to debug, supported values: err, warn, notice, info, debug, parser,
# header, ext, client, latency, user, count (plus 'none' and 'all')
#ws_logging = "err,warn"
}
Loading

0 comments on commit 9d9d036

Please sign in to comment.