1
0
Fork 0
mirror of https://github.com/YunoHost-Apps/galene_ynh.git synced 2024-09-03 18:36:31 +02:00
galene_ynh/README.md

129 lines
6.2 KiB
Markdown
Raw Normal View History

2021-05-24 23:19:34 +02:00
<!--
N.B.: This README was automatically generated by https://github.com/YunoHost/apps/tree/master/tools/README-generator
It shall NOT be edited by hand.
-->
2021-08-11 18:15:17 +02:00
# Galène for YunoHost
2021-05-24 23:19:34 +02:00
2022-06-04 19:38:01 +02:00
[![Integration level](https://dash.yunohost.org/integration/galene.svg)](https://dash.yunohost.org/appci/app/galene) ![Working status](https://ci-apps.yunohost.org/ci/badges/galene.status.svg) ![Maintenance status](https://ci-apps.yunohost.org/ci/badges/galene.maintain.svg)
2021-09-05 22:08:37 +02:00
[![Install Galène with YunoHost](https://install-app.yunohost.org/install-with-yunohost.svg)](https://install-app.yunohost.org/?app=galene)
2021-01-09 12:21:30 +01:00
*[Lire ce readme en français.](./README_fr.md)*
2021-08-11 18:15:17 +02:00
> *This package allows you to install Galène quickly and simply on a YunoHost server.
2021-01-09 12:21:30 +01:00
If you don't have YunoHost, please consult [the guide](https://yunohost.org/#/install) to learn how to install it.*
## Overview
2021-09-06 10:34:58 +02:00
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).
2022-03-08 18:28:00 +01:00
## Features
2021-09-06 10:34:58 +02:00
### 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
2022-03-08 18:28:00 +01:00
### Server features
2022-03-20 14:14:06 +01:00
- redistribution of arbitrary numbers of audio and video streams;
- text chat;
2022-03-08 18:28:00 +01:00
- 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.
2021-05-24 23:19:34 +02:00
**Shipped version:** 0.5.5~ynh1
2021-05-24 23:19:34 +02:00
**Demo:** https://galene.org:8443/
2021-01-09 12:21:30 +01:00
## Screenshots
2022-06-04 19:38:01 +02:00
![Screenshot of Galène](./doc/screenshots/screenshot.png)
2021-05-24 23:19:34 +02:00
## Disclaimers / important information
2021-01-09 12:21:30 +01:00
2021-05-29 15:21:26 +02:00
### Accessing groups
2021-02-25 10:12:39 +01:00
2021-06-02 09:04:54 +02:00
*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).
2021-02-25 10:12:39 +01:00
2021-05-29 15:21:26 +02:00
#### Creating and configuring groups
2021-09-06 10:34:58 +02:00
Groups are defined by JSON files located in the folder `/home/yunohost.app/galene/groups`. Each group is represented by a `GroupName.json` file.
2021-11-06 15:46:44 +01:00
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).
2021-09-06 10:34:58 +02:00
*NB: Spaces are supported in group file names.*
2021-12-02 12:50:33 +01:00
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`.
2021-05-29 15:21:26 +02:00
### Configuring your TURN server
2021-09-06 10:34:58 +02:00
#### Using *Galène*'s internal TURN server
2021-05-29 15:21:26 +02:00
Galène comes with a built-in TURN server that should work out-of-the-box.
2021-12-22 17:33:23 +01:00
- 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`)
2021-05-29 15:21:26 +02:00
#### Using your own TURN server
- Install [coturn_ynh](https://github.com/YunoHost-Apps/coturn_ynh).
- Add `/opt/yunohost/galene/data/ice-servers.json` with these lines and change `turn.example.org` and `secret`
```
2021-05-29 15:21:26 +02:00
[
{
"urls": [
2021-06-02 09:04:54 +02:00
"turn:turn.example.org:5349",
"turn:turn.example.org:5349?transport=tcp"
2021-05-29 15:21:26 +02:00
],
"username": "galene",
"credential": "secret"
}
]
```
2021-06-02 09:36:42 +02:00
- set `/etc/systemd/system/galene.service` `-turn` option to `-turn auto` (or `-turn ""` to disable the built-in TURN server).
2021-05-29 15:21:26 +02:00
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.
2021-09-06 10:34:58 +02:00
You can also install Galène with an external TURN server with this branch: https://github.com/YunoHost-Apps/galene_ynh/tree/galene+turn
2021-05-29 15:21:26 +02:00
### Server Statistics page
2021-11-05 19:32:17 +01:00
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`).
2021-09-06 10:34:58 +02:00
### 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.
2021-01-09 12:21:30 +01:00
2021-05-24 23:19:34 +02:00
## Documentation and resources
2021-01-09 12:21:30 +01:00
2022-06-04 19:38:01 +02:00
* Official app website: <https://galene.org/>
* Official user documentation: <https://galene.org/faq.html>
* Official admin documentation: <https://galene.org/>
* Upstream app code repository: <https://github.com/jech/galene>
* YunoHost documentation for this app: <https://yunohost.org/app_galene>
* Report a bug: <https://github.com/YunoHost-Apps/galene_ynh/issues>
2021-01-09 12:21:30 +01:00
## Developer info
Please send your pull request to the [testing branch](https://github.com/YunoHost-Apps/galene_ynh/tree/testing).
To try the testing branch, please proceed like that.
2022-06-04 19:38:01 +02:00
``` bash
2021-01-09 12:21:30 +01:00
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
```
2021-05-24 23:19:34 +02:00
2022-06-04 19:38:01 +02:00
**More info regarding app packaging:** <https://yunohost.org/packaging_apps>