Guest User

config.json

a guest
May 15th, 2020
115
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Bash 3.02 KB | None | 0 0
  1. {
  2.     // NOTE: this is a *SAMPLE* config file, it will need to be configured with
  3.     // values from your environment
  4.  
  5.     // Where recording files should be temporarily stored
  6.     "recording_directory":"/recordings",
  7.     // The path to the script which will be run on completed recordings
  8.     "finalize_recording_script_path": "",
  9.     "xmpp_environments": [
  10.         {
  11.             // A friendly name for this environment which can be used
  12.             //  for logging, stats, etc.
  13.             "name": "prod environment",
  14.             // The hosts of the XMPP servers to connect to as part of
  15.             //  this environment
  16.             "xmpp_server_hosts": [
  17.                 "jitsi.my-domain.net"
  18.             ],
  19.             // The xmpp domain we'll connect to on the XMPP server
  20.            "xmpp_domain": "jitsi.my-domain.net",
  21.            // Jibri will login to the xmpp server as a privileged user
  22.            "control_login": {
  23.                // The domain to use for logging in
  24.                "domain": "auth.jitsi.my-domain.net",
  25.                // The credentials for logging in
  26.                "username": "jibri",
  27.                "password": "P4ssw0rd"
  28.            },
  29.            // Using the control_login information above, Jibri will join
  30.            //  a control muc as a means of announcing its availability
  31.            //  to provide services for a given environment
  32.            "control_muc": {
  33.                "domain": "internal.auth.jitsi.my-domain.net",
  34.                "room_name": "JibriBrewery",
  35.                "nickname": "jibri"
  36.            },
  37.            // All participants in a call join a muc so they can exchange
  38.            //  information.  Jibri can be instructed to join a special muc
  39.            //  with credentials to give it special abilities (e.g. not being
  40.            //  displayed to other users like a normal participant)
  41.            "call_login": {
  42.                "domain": "recorder.jitsi.my-domain.net",
  43.                "username": "recorder",
  44.                "password": "P4ssw0rd"
  45.            },
  46.            // When jibri gets a request to start a service for a room, the room
  47.            //  jid will look like:
  48.            //  roomName@optional.prefixes.subdomain.xmpp_domain
  49.            // We'll build the url for the call by transforming that into:
  50.             //  https://xmpp_domain/subdomain/roomName
  51.             // So if there are any prefixes in the jid (like jitsi meet, which
  52.             //  has its participants join a muc at conference.xmpp_domain) then
  53.             //  list that prefix here so it can be stripped out to generate
  54.             //  the call url correctly
  55.             "room_jid_domain_string_to_strip_from_start": "conference.",
  56.             // The amount of time, in minutes, a service is allowed to continue.
  57.             //  Once a service has been running for this long, it will be
  58.             //  stopped (cleanly).  A value of 0 means an indefinite amount
  59.             //  of time is allowed
  60.             "usage_timeout": "0"
  61.         }
  62.     ]
  63. }
Add Comment
Please, Sign In to add comment