Project

General

Profile

Actions

Task #8675

closed

Jitsi - enable vb for livestream/recording

Added by Philipp (double-p) Buehler almost 4 years ago. Updated almost 4 years ago.

Status:
Closed
Priority:
Normal
Start date:
12/04/2020
Due date:
% Done:

90%

Estimated time:
PM Check date:

Files

jibri-install.md (4.24 KB) jibri-install.md Philipp (double-p) Buehler, 12/05/2020 01:28 PM
pres.html (3.34 KB) pres.html Philipp (double-p) Buehler, 12/06/2020 10:31 AM
Actions #2

Updated by Philipp (double-p) Buehler almost 4 years ago

https://github.com/jitsi/jibri
https://nerdonthestreet.com/s/15
Sidenote: this java8 thing seems to be fixed in at least "jibri/stable,now 8.0-61-g99288dc-1"
- full history/log attached

Actions #3

Updated by Philipp (double-p) Buehler almost 4 years ago

please provide a debian 10.6 (buster) VM (and later on some prosody config on the VM for talk.ungleich.ch)

Actions #4

Updated by Philipp (double-p) Buehler almost 4 years ago

ssh-rsa AAAAB3NzaC1yc2EAAAADAQABAAABAQDcUnHhHZFhW+VTKdURDIbUTRk4c3ygnBEGHir8YI1itth9zUgGRX7MrQCVImm9RjMqTayZLXjuytbiWfsqnPK7qaQh07Rwd1YGNcsLRcGTPHGef6QVhx4tXd7F1lkDAx7NQ5fxAMOXNhKJqI38ZwDeNtz1I83PKwqJsXAxY1YlHLwTIFBHqtkEShPGPtWjMxUm4KEDJtFJ5qJ8jJPfGQPc1akSqMVRURjC+C4N0IUwnOkuS4b456+/4xawlVwgbwjE8p1+1Hfa7JPjY+oHb4sC+DAlX+YOMC1c8ugU1Tz8ACP5ln/fYiAhErulVgVj6776piN78LPjBAVaWXsBx70L pbuehler@ungleich

Actions #5

Updated by Nico Schottelius almost 4 years ago

  • VM: 2a0a:e5c0:2:12:0:f0ff:fea9:c4ae
  • ssh key added
Actions #6

Updated by Nico Schottelius almost 4 years ago

  • Resized to 8GB / 2C
Actions #7

Updated by Guifi Pedro almost 4 years ago

double-p, here you have my ssh key:

ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAIG2v3oOfazBoKioIq6WxaphUSE7N6NkPlmAJ2jVjIwXW pedro@ungleich

Actions #8

Updated by Philipp (double-p) Buehler almost 4 years ago

@guidipedro key has been added for 'root'

Actions #9

Updated by Philipp (double-p) Buehler almost 4 years ago

@Nico Schottelius on the jitsi-meet VM we need following adaptions:

in /etc/prosody/prosody.cfg.lua:
===
Component "conference.talk.ungleich.ch" "muc" 
  modules_enabled = { "muc_mam" }
Component "internal.auth.talk.ungleich.ch" "muc" 
  modules_enabled = {
    "ping";
  }
  storage = "internal" 
  muc_room_cache_size = 1000
VirtualHost "recorder.talk.ungleich.ch" 
  modules_enabled = {
    "ping";
  }
  authentication = "internal_plain" 
===
Following commands:
prosodyctl register jibri auth.talk.ungleich.ch jibriPASS123
prosodyctl register recorder recorder.talk.ungleich.ch recPASS123

Add to /etc/jitsi/jicofo/sip-communicator.properties 
===
org.jitsi.jicofo.jibri.BREWERY=JibriBrewery@internal.auth.talk.ungleich.ch
org.jitsi.jicofo.jibri.PENDING_TIMEOUT=90
===
In /etc/jitsi/meet/talk.ungleich.ch-config.js:
===
fileRecordingsEnabled: true,
liveStreamingEnabled: true,
hiddenDomain: 'recorder.talk.ungleich.ch', 
===
And to enable above settings:
systemctl restart prosody
systemctl restart jicofo
systemctl restart jitsi-videobridge2

Actions #10

Updated by Philipp (double-p) Buehler almost 4 years ago

  • % Done changed from 0 to 60
Actions #11

Updated by Philipp (double-p) Buehler almost 4 years ago

  • Status changed from New to In Progress
Actions #12

Updated by Philipp (double-p) Buehler almost 4 years ago

  • File jibri-install.md added
Actions #13

Updated by Philipp (double-p) Buehler almost 4 years ago

  • File deleted (jibri-install.md)
Actions #15

Updated by Philipp (double-p) Buehler almost 4 years ago

  • File pres.html added
Actions #16

Updated by Philipp (double-p) Buehler almost 4 years ago

  • File deleted (pres.html)
Actions #18

Updated by Philipp (double-p) Buehler almost 4 years ago

  • % Done changed from 60 to 90
Actions #19

Updated by Philipp (double-p) Buehler almost 4 years ago

All installation+configuration is done - but in the final step to "recognize" jibri is available, it fails:
````
2020-12-06 09:27:57.569 FINE: [54] org.jitsi.jibri.selenium.pageobjects.CallPage.apply() Not joined yet: Cannot read property 'isJoined' of undefined
````

Actions #20

Updated by Philipp (double-p) Buehler almost 4 years ago

also tried JDK8 - nope.

Actions #21

Updated by Philipp (double-p) Buehler almost 4 years ago

nginx:

user jibri;
worker_processes auto;
pid /run/nginx.pid;
include /etc/nginx/modules-enabled/*.conf;

events {
        worker_connections 768;
        # multi_accept on;
}

http {
        sendfile on;
        tcp_nopush on;
        tcp_nodelay on;
        keepalive_timeout 65;
        types_hash_max_size 2048;
        # server_tokens off;

        # server_names_hash_bucket_size 64;
        # server_name_in_redirect off;

        include /etc/nginx/mime.types;
        default_type application/octet-stream;

        access_log /var/log/nginx/access.log;
        error_log /var/log/nginx/error.log;

    server {
        listen [::]:80 default_server;

        return 301 https://$host$request_uri;
    }

    server {
        listen [::]:443 ssl http2;

        ssl_certificate /etc/ssl/mycert.pem;
        ssl_certificate_key /etc/ssl/private/mycert.key;
        ssl_session_timeout 1d;
        ssl_session_cache shared:MozSSL:10m;  # about 40000 sessions
        ssl_session_tickets off;
        ssl_dhparam /etc/ssl/private/dhparam;

        ssl_protocols TLSv1.2 TLSv1.3;
        ssl_ciphers ECDHE-ECDSA-AES128-GCM-SHA256:ECDHE-RSA-AES128-GCM-SHA256:ECDHE-ECDSA-AES256-GCM-SHA384:ECDHE-RSA-AES256-GCM-SHA384:ECDHE-ECDSA-CHACHA20-POLY1305:ECDHE-RSA-CHACHA20-POLY1305:DHE-RSA-AES128-GCM-SHA256:DHE-RSA-AES256-GCM-SHA384;
        ssl_prefer_server_ciphers off;

        root /talkrec;
        location / { autoindex on; }
    }
}

Actions #22

Updated by Nico Schottelius almost 4 years ago

  • Status changed from In Progress to Closed
Actions

Also available in: Atom PDF