1
0
Fork 0
mirror of https://github.com/YunoHost-Apps/galene_ynh.git synced 2024-09-03 18:36:31 +02:00
Galène package for YunoHost
Find a file
Éric Gaspar e51e56d1cc
Testing (#81)
* Delete turnserver from ssl-cert

* Fix

* Fix links

* Update upgrade

* Update manifest.json

* Fix

* Fix

* Update systemd.service

* Remove badge

* Update pull_request_template.md

* Update install

* add doc page

* Add doc

* Update nginx.conf

* Update nginx.conf

* Update nginx.conf

* Update nginx.conf

* Update nginx.conf

* Update install

* Fix

* Fix

* Update Coturn_config_rotate.sh

* Update pull_request_template.md

* Update Coturn_config_rotate.sh

* Update manifest.json

* Add description

* Add logs

* Update nginx.conf

* Update groupname.json

* Update install

* Create
.gitignore

* Without turn 0.3 (#20)

* Upgrade to version 0.3

* Revert "Merge branch 'testing' into without-turn"

This reverts commit e15d4cbc71, reversing
changes made to 16ba00f162.

* Update install

* Remove cli port

* Upgrade to version 0.3.1

* Update install

* Upgrade to 0.3.1

* Open port 8443

* Fix systemd config

* Update groupname.json

* Update remove

* Removing Send a email

* rework coturn config

* Update ice-servers.json

* Update ice-servers.json

* Fix

* Update ice-servers.json

* Update change_url

* Update nginx.conf

* Update groupname.json

* Fix

* Update nginx.conf

* Update install

* Update turnserver.conf

* Cleaning up

* Make curl silent

* Make curl silent

* Update upgrade

* Make curl silent

* Update install

* fix

* Update upgrade

* Fix

* Upgrade to 0.3.2 (#27)

* Upgrade to version 0.3.2

* Group description (#29)

* Allow group description on install

* Add -turn command-line option in systemd

* Update install

* Add turn port

* Update install

* Fix

* Add group description

* Fix

* Update manifest.json

* Cleaning up

* Update upgrade

* Update manifest.json

* Set config file permissions

* Update upgrade

* Set new_path to root

* Update install

* Update upgrade

* Fix badges

* Update manifest.json

* Fix badges

* Remove open firewall

* Protect config groups folder

* Remove firewall allow for 8443 (#35)

* remove firewall allow for 8443

* Update Coturn_config_rotate.sh

* Multi instance

* Update install

* Fix

* Update ice-servers.json

* Update manifest.json

* Upgrade to version 0.3.3

* Update systemd.service

* Update upgrade

* Update systemd.service

* Upgrade to version 0.3.3 (#39)

* Add port

* Add home

* Change permission

* Update install

* Upgrade to version 0.3.4

* Upgrade to version 0.3.4 (#40)

* Fix

* Update manifest.json

* Revert "Update manifest.json"

This reverts commit ca7464632e.

* [autopatch] Update issue and PR templates (#45)

Co-authored-by: Yunohost-Bot <>

* Add templates

* Add screenshot

* Update check_process

* Update check_process

* Upgrade to version 0.3.5 (#47)

* Upgrade to version 0.3.5

* Add add_config

* Update upgrade

* Check if a cron job is present and remove it

* Update manifest.json

* Update check_process

* Add templates

* Auto-update README

* Fix access to the /stats page

* Add new line in passwd file for user:password parsing (#52)

* Add new line in passwd file for user:password parsing

* Fix

* Create screenshot.png

* Add templates

* Auto-update README

* Cleaning up

* Auto-update README

* Update manifest.json

* Fix

* Fix

* Auto-update README

* Remove generated certificates

* Fix

* Fix

* Fix

* Fix

* Fix

* Auto-update README

* Fix

* Auto-update README

* Various fix

* Auto-update README

* Update install

* Update upgrade

* Fix

* Fix

* Fix

* Update systemd.service

* Update systemd.service

* Fix

* Update systemd.service

* Update check_process

* Auto-update README

* Update systemd.service

* Update manifest.json

* Auto-update README

* Add accent

* Auto-update README

* Update systemd.service

* Add description

* Auto-update README

* Fix

* Auto-update README

* 0.4

* Update systemd.service

* Auto-update README

* 0.4 (#58)

* Fix

* Update restore

* Update install

* Update remove

* Update upgrade

* Update systemd.service

* Update systemd.service

* Revert "Update systemd.service"

This reverts commit 3e4d1b95d4.

* Fix link

* Auto-update README

* Notif (#60)

* Update upgrade

* Update manifest.json

* Auto-update README

* Update systemd.service

* Update manifest.json

* Auto-update README

* Update manifest.json

* Fix

* Auto-update README

* 0.4.1 (#65)

* Update version 0.4.1

* Update manifest.json

* Fix change url

* Auto-update README

* Update upgrade

* Update upgrade

* Fix

* Auto-update README

* remove arch helper (#68)

* remove arch helper

* Update install

* Update manifest.json

* Auto-update README

* 0.4.2

* Auto-update README

* Fix

* Auto-update README

* Update restore

* We do not open 8443

We do not open 8443 as it is going through NGINX proxy

* Auto-update README

* 0.4.3 (#72)

* 0.4.3

* 0.4.4 (#74)

* 0.4.4

* 0.5 (#77)

* 0.5

* Update DESCRIPTION.md

* Auto-update README

* Update DESCRIPTION.md

* Merge branch 'testing' of https://github.com/YunoHost-Apps/galene_ynh into testing

* Update DESCRIPTION.md

* cleaning up

* Auto-update README

* 0.5.1 (#80)

* Upgrade

* Auto-update README

Co-authored-by: yunohost-bot <yunohost@yunohost.org>

Co-authored-by: Alexandre Aubin <alex.aubin@mailoo.org>
Co-authored-by: YunoHost Bot <yunohost-bot@users.noreply.github.com>
Co-authored-by: Yunohost-Bot <>
Co-authored-by: tituspijean <tituspijean@outlook.com>
Co-authored-by: yunohost-bot <yunohost@yunohost.org>
2022-03-25 12:00:28 +01:00
.github Testing (#48) 2021-05-12 18:41:02 +02:00
conf Testing (#81) 2022-03-25 12:00:28 +01:00
doc Testing (#81) 2022-03-25 12:00:28 +01:00
scripts Testing (#81) 2022-03-25 12:00:28 +01:00
.gitignore Upgrade to version 0.3 (#22) 2021-02-25 10:12:39 +01:00
check_process Testing (#66) 2021-11-06 11:29:22 +01:00
LICENSE First commit 2021-01-09 12:29:28 +01:00
manifest.json Testing (#81) 2022-03-25 12:00:28 +01:00
README.md Testing (#81) 2022-03-25 12:00:28 +01:00
README_fr.md Testing (#81) 2022-03-25 12:00:28 +01:00

Galène for YunoHost

Integration level
Install Galène with YunoHost

Lire ce readme en français.

This package allows you to install Galène quickly and simply on a YunoHost server. If you don't have YunoHost, please consult the guide to learn how to install it.

Overview

Galène is a videoconference server (an “SFU”) that is easy to deploy and that requires moderate server resources. It was originally designed for lectures and conferences (where a single speaker streams audio and video to hundreds or thousands of users), but later evolved to be useful for student practicals (where users are divided into many small groups), and meetings (where a dozen users interact with each other).

Features

Client features:

  • multiparty audio and video
  • text chat
  • reasonably good support for mobile (Android and iPhone/iPad)
  • screen and window sharing, including sharing multiple windows simultaneously (not on mobile)
  • streaming video and audio from disk
  • activity detection

Server features

  • redistribution of arbitrary numbers of audio and video streams;
  • text chat;
  • recording to disk;
  • user statuses ("raise hand", etc.);
  • choice of audio and video codecs (full functionality for VP8, VP9, and H.264, preliminary support for AV1);
  • Simulcast;
  • Scalable Video Coding (SVC) for VP8 and VP9;
  • automatic restarting of failed flows (on ICE failure);
  • congestion control in the server → client direction (both loss-based and using REMB indications);
  • congestion control in the client → server direction (loss-based, partial REMB support);
  • dynamic tuning of buffer sizes depending on the clients' RTT;
  • built-in TURN server.

Shipped version: 0.5.1~ynh1

Demo: https://galene.org:8443/

Screenshots

Disclaimers / important information

Accessing groups

Galène meeting rooms are called "groups". Any group is accessible at https://domain.tld/group/GroupName, by typing its name in the home page search field, or by selecting it in the public list (if the group is configured as publicly visible, see below).

Creating and configuring groups

Groups are defined by JSON files located in the folder /home/yunohost.app/galene/groups. Each group is represented by a GroupName.json file. To create a new group, you need to create a GroupNameExample.json file and restart Galène service (you can also make subfolder groups, and the groups will be accessible with https://domain.tld/group/subfolder/GroupName/). Various configuration options are available (see https://github.com/YunoHost-Apps/galene_ynh/wiki/Configuration-file).

NB: Spaces are supported in group file names.

When Galène is removed, the data directory (/home/yunohost.app/galene/) is preserved. If you want to remove it along with Galène, use the --purge option: sudo yunohost app remove galene --purge.

Configuring your TURN server

Using Galène's internal TURN server

Galène comes with a built-in TURN server that should work out-of-the-box.

  • If your server is behind NAT, allow incoming traffic to TCP/UDP port 1194 (or whatever is configured with the -turn option in /etc/systemd/system/galene.service)

Using your own TURN server

  • Install coturn_ynh.
  • Add /opt/yunohost/galene/data/ice-servers.json with these lines and change turn.example.org and secret
    [
        {
            "urls": [
                "turn:turn.example.org:5349",
                "turn:turn.example.org:5349?transport=tcp"
            ],
            "username": "galene",
            "credential": "secret"
        }
    ]
  • set /etc/systemd/system/galene.service -turn option to -turn auto (or -turn "" to disable the built-in TURN server).

To check if the TURN server is up and running, type /relay-test in the chat box. If the TURN server is properly configured, you should see a message saying that the relay test has been successful.

You can also install Galène with an external TURN server with this branch: https://github.com/YunoHost-Apps/galene_ynh/tree/galene+turn

Server Statistics page

Statistics are available under /opt/yunohost/galene/stats.json, with a human-readable version at domain.ltd/stats.html. This is only available to the server administrator (the admin/password is set in the config.json file: /opt/yunohost/galene/data/config.json).

How do I record my lecture?

Make sure allow-recording is set in your group configuration. Log-in as an operator, then say /record before you start your lecture. Don't forget to say /unrecord at the end. You will find your recordings under https://server.example.com/recordings/groupname/. The video recordings are stored in /home/yunohost.app/galene/recordings folder.

Documentation and resources

Developer info

Please send your pull request to the testing branch.

To try the testing branch, please proceed like that.

sudo yunohost app install https://github.com/YunoHost-Apps/galene_ynh/tree/testing --debug
or
sudo yunohost app upgrade galene -u https://github.com/YunoHost-Apps/galene_ynh/tree/testing --debug

More info regarding app packaging: https://yunohost.org/packaging_apps