#16 Misc config changes for jibri
Opened 3 years ago by felfert. Modified 3 years ago
felfert/jitsi-rpm config-changes-for-jibri  into  main

@@ -1,1 +1,3 @@ 

  org.jitsi.jicofo.BRIDGE_MUC=JvbBrewery@internal.auth.__jitsiFQDN__

+ org.jitsi.jicofo.jibri.BREWERY=JibriBrewery@internal.auth.__jitsiFQDN__

+ org.jitsi.jicofo.jibri.PENDING_TIMEOUT=90

@@ -0,0 +1,31 @@ 

+ diff -Naur a/config.js b/config.js

+ --- a/config.js	2021-02-20 22:55:06.756059503 +0100

+ +++ b/config.js	2021-02-20 22:59:49.577830223 +0100

+ @@ -189,7 +189,7 @@

+      // Recording

+  

+      // Whether to enable file recording or not.

+ -    // fileRecordingsEnabled: false,

+ +    fileRecordingsEnabled: true,

+      // Enable the dropbox integration.

+      // dropbox: {

+      //     appKey: '<APP_KEY>' // Specify your app key here.

+ @@ -210,7 +210,7 @@

+      // fileRecordingsServiceSharingEnabled: false,

+  

+      // Whether to enable live streaming or not.

+ -    // liveStreamingEnabled: false,

+ +    liveStreamingEnabled: true,

+  

+      // Transcription (in interface_config,

+      // subtitles and buttons can be configured)

+ @@ -691,6 +691,9 @@

+       ignoreStartMuted

+       */

+  

+ +    // Do not show recorder as regular participant

+ +    hiddenDomain: 'recorder.__jitsiFQDN__',

+ +

+  

+      // Allow all above example options to include a trailing comma and

+      // prevent fear when commenting out the last value.

@@ -48,6 +48,13 @@ 

      main_muc = "conference.__jitsiFQDN__"

      -- muc_lobby_whitelist = { "recorder.__jitsiFQDN__" } -- Here we can whitelist jibri to enter lobby enabled rooms

  

+ VirtualHost "recorder.__jitsiFQDN__"

+     modules_enabled = {

+         "ping";

+     }

+     authentication = "internal_plain"

+     c2s_require_encryption = false

+ 

  Component "conference.__jitsiFQDN__" "muc"

      storage = "memory"

      modules_enabled = {

file modified
+3 -2
@@ -17,7 +17,7 @@ 

  # this makes it easier to pick up changes upstream

  Patch0:     0001-harmonize-placeholders.patch

  Patch1:     0002-disable-thirdparty.patch

- #Patch2:     0003-use-system-ssl-conf.patch

+ Patch2:     0003-enable-jibri.patch

  

  BuildArch:      noarch

  BuildRequires:  nodejs
@@ -54,7 +54,7 @@ 

  Requires:       %{name}-prosody = 2.0.%{project_version}

  Requires:       %{name}-webconfig = 2.0.%{project_version}

  Suggests:       coturn

- Suggests:       jibri = 8.0

+ Suggests:       jibri = 8.0.g99288dc

  Suggests:       jigasi = 1.1

  

  %description -n %{project}
@@ -115,6 +115,7 @@ 

  # site

  install -m 0755 -p -d %{buildroot}%{_datadir}/%{name}

  tar xjvf jitsi-meet.tar.bz2 -C %{buildroot}%{_datadir}/%{name} --strip 1

+ install -m 0644 -t %{buildroot}%{_datadir}/%{name} manifest.json

  

  for country in $(ls "node_modules/i18n-iso-countries/langs"); do

      install -m644 "node_modules/i18n-iso-countries/langs/${country}" %{buildroot}%{_datadir}/%{name}/lang/countries-${country}

This PR contains the necessary changes in the various configs for allowing jibri to work. It also adds a missing file (manifest.json) in jitsi-meet.