1
Fork 0
mirror of https://github.com/jech/galene.git synced 2024-11-09 18:25:58 +01:00
The Galène videoconference server
Find a file
Juliusz Chroboczek fd1772ed72 Add .gitignore.
2020-04-30 19:13:32 +02:00
packetcache Maintain reception statistics, send receiver reports. 2020-04-29 13:27:51 +02:00
static Add sample ice-servers.json. 2020-04-30 19:13:32 +02:00
.gitignore Add .gitignore. 2020-04-30 19:13:32 +02:00
client.go Increase the size of the NACK cache. 2020-04-30 19:13:32 +02:00
go.mod Unmarshal RTP directly instead of using helper functions. 2020-04-28 14:52:36 +02:00
go.sum Initial commit. 2020-04-25 01:06:57 +02:00
group.go Add primitive monitoring interface. 2020-04-29 16:08:07 +02:00
README Add README. 2020-04-29 18:31:54 +02:00
sfu.go Add primitive monitoring interface. 2020-04-29 16:08:07 +02:00

Build the server binary:

    CGO_ENABLED=0 go build -ldflags='-s -w'

Create a server certificate:

    openssl req -newkey rsa:2048 -nodes -keyout data/key.pem -x509 -days 365 -out data/cert.pem

Set the server administrator's username and password (optional):

    echo 'god:topsecret' > data/passwd

Configure the list of STUN and TURN servers (optional):

    vi static/ice-servers.json

Setup a group

    mkdir groups
    vi groups/public.json

    {
      "allow-anonymous":true,
      "public":true,
      "op":[{"username":"jch","password":"1234"}],
      "presenter":[{}],
      "max-users":100
    }

Copy the necessary files to your server:

    rsync -a sfu static data groups server.example.org:/home/sfu/

Run the server binary:

    ssh server.example.org
    cd /home/sfu/
    nohup ./sfu &

-- Juliusz Chroboczek <https://www.irif.fr/~jch/>