Jibri Config

Hi I’m a brand new user to Jitsi.
Mine is installed on an ubuntu 18.04.
It’s working fine, with authentication.
Now I would like to enable streaming to youtube with Jibri.

I’m stuck with the file config.json :

    {
        // NOTE: this is a *SAMPLE* config file, it will need to be configured with
        // values from your environment

        // Where recording files should be temporarily stored
        "recording_directory":"/tmp/recordings",
        // The path to the script which will be run on completed recordings
        "finalize_recording_script_path": "/path/to/finalize_recording.sh",

I can’t find this file, whtat is it for?

    "xmpp_environments": [
        {
            // A friendly name for this environment which can be used
            //  for logging, stats, etc.
            "name": "prod environment",
            // The hosts of the XMPP servers to connect to as part of
            //  this environment
            "xmpp_server_hosts": [
                "prod.xmpp.host.net"

What is this host? I find nothing named prod.xmpp… in any config file

    ],
    // The xmpp domain we'll connect to on the XMPP server
    "xmpp_domain": "xmpp.domain",
    // Jibri will login to the xmpp server as a privileged user 
    "control_login": {
        // The domain to use for logging in
        "domain": "auth.xmpp.domain",
        // The credentials for logging in
        "username": "username",
        "password": "password"

When this credential have been generated?

    },
    // Using the control_login information above, Jibri will join 
    //  a control muc as a means of announcing its availability 
    //  to provide services for a given environment
    "control_muc": {
        "domain": "internal.auth.xmpp.domain",
        "room_name": "JibriBrewery",
        "nickname": "jibri-nickname"
    },
    // All participants in a call join a muc so they can exchange
    //  information.  Jibri can be instructed to join a special muc
    //  with credentials to give it special abilities (e.g. not being
    //  displayed to other users like a normal participant)
    "call_login": {
        "domain": "recorder.xmpp.domain",
        "username": "username",
        "password": "password"

When this credential have been generated?`

    },
    // When jibri gets a request to start a service for a room, the room
    //  jid will look like:
    //  roomName@optional.prefixes.subdomain.xmpp_domain
    // We'll build the url for the call by transforming that into:
    //  https://xmpp_domain/subdomain/roomName
    // So if there are any prefixes in the jid (like jitsi meet, which
    //  has its participants join a muc at conference.xmpp_domain) then
    //  list that prefix here so it can be stripped out to generate
    //  the call url correctly
    "room_jid_domain_string_to_strip_from_start": "conference.",
    // The amount of time, in minutes, a service is allowed to continue.
    //  Once a service has been running for this long, it will be
    //  stopped (cleanly).  A value of 0 means an indefinite amount
    //  of time is allowed
    "usage_timeout": "0"
    }
    ]
    }

Many thanks by advance for your help.

Proc.

Hi,

So I found the answers by myself. For those that would be interested :

prod.xmpp.host.net has to be replaced by the fqdn of your xmpp server.
find what you need in /etc/jitsi/meet/‘your_domaine’-config.js

For
"domain": “auth.xmpp.domain”,
// The credentials for logging in
"username": “username”,
"password": "password"

and
"domain": “recorder.xmpp.domain”,
"username": “username”,
"password": "password"

These password are generated later in the configuration guide continue to read it.

Regarding the file finalize_recording.sh I have no clue. But as I don’t need it I won’t an answer for it.
If someone know tell us please.

Regards.