UPDATE.
I already installed jibri in a separated server, so my scenario looks like this:
server1 jitsi.mydoain
server2 jibri no external dns, just accesible by ip and dns local
I followed various docs to install jibri, some of them are:
I dont know if I actually understood but, I already installed jibri. Then I started with the configuration:
In the jitsiserver side:
-
/etc/prosody/prosody.cfg.lua : I set the conference MUC, the internal.auth, and the virtual host for recording.
-
Then, I created the users for login and reorder of jibri.
-
After that, I modified /etc/jitsi/jicofo/sip-communicator.properties whit the BREWERY LINES
-
Lastly, I modified the /etc/jitsi/meet/mydomain-config.js to enable fileRecording, livestreaming and set hiddenDomain.
And, in the jibri server:
- I created the recording directory.
- My (major) trouble begins here, I supossed to config a file named /etc/jitsi/jibri/config.json but it doesnt exists, I read that the config.json is the old config file of jibri, instead I have /etc/jitsi/jibri/jibri.conf, but this file only has: jibri {
}
In a document, I saw that jibri.conf replace config.json, but in other lecture said that jibri maybe looks for both files.
So I created a file named config.json and copied the content from here:Jibri config.json on the same jitsi machine? and replaced it with my data.
Then, for jibri.conf I did almost the same, I took a jibri.conf example from Legacy config file doesn't exist,
I restarted services in both servers
jicofo, videobridge2 and prosody, and started jibri service.
When starting a videoconference, in the room I already had activated the record button, but when I tried to start recording it failed.
In jibri server /vat/log/jitsi/jibri/log.o.txt i didn’t see errors:
2020-12-10 09:20:41.789 INFO: [1] org.jitsi.jibri.Main.handleCommandLineArgs() Jibri run with args [–config, /etc/jitsi/jibri/config.json]
2020-12-10 09:20:41.872 INFO: [1] org.jitsi.jibri.Main.setupLegacyConfig() Checking legacy config file /etc/jitsi/jibri/config.json
/var/log/jitsi/jibri/log.0.txt (END)
Before I created the config files, the log says
2020-12-09 21:59:20.804 INFO: [1] org.jitsi.jibri.Main.setupLegacyConfig() Legacy config file /etc/jitsi/jibri/config.json doesn’t exist
So I am kind of stuck here, but I am looking back at my steps and reading more about it,
if someone has any idea of how to pass this problem I´d really appreciate it.
The final goal is to be able to integrate jitsi-meet with some sip hardware device and establish videoconferences (audio and video from sip devices).