From: "Toke Høiland-Jørgensen" <toke@toke.dk>
To: Juliusz Chroboczek <jch@irif.fr>
Cc: galene@lists.galene.org
Subject: [Galene] Re: Heads-up: built-in TURN server
Date: Tue, 19 Jan 2021 12:47:17 +0100 [thread overview]
Message-ID: <875z3tqhbu.fsf@toke.dk> (raw)
In-Reply-To: <877do9ydvi.wl-jch@irif.fr>
Juliusz Chroboczek <jch@irif.fr> writes:
> Ok, I disagree with you guys, but I've done as you say.
>
> The built-in TURN server will be disabled by default if there's an
> ice-servers.json file (even if it's empty or otherwise malformed). This
> won't happen if the -turn option has been explicitly specified on the
> command-line.
That sounds reasonable, thanks :)
> The server should be started if the ice-servers.json file disappears, but
> I haven't actually tested that it works, and haven't written any unit
> tests.
It does appear to, once someone enters a conference:
root@video:/var/lib/galene# ss -ntpl | grep galene
LISTEN 0 128 *:443 *:* users:(("galene",pid=793998,fd=6))
root@video:/var/lib/galene# ss -nupl | grep galene
root@video:/var/lib/galene# mv data/ice-servers.json .
root@video:/var/lib/galene# ss -ntpl | grep galene
LISTEN 0 128 *:443 *:* users:(("galene",pid=793998,fd=6))
root@video:/var/lib/galene# ss -nupl | grep galene
So nothing, but after entering a conference and turning on video it does
appear to enable itself:
root@video:/var/lib/galene# ss -nupl | grep galene
UNCONN 0 0 45.145.95.8:1194 0.0.0.0:* users:(("galene",pid=794316,fd=9))
It even turns itself off again if I restore the file:
root@video:/var/lib/galene# mv ice-servers.json data/
(enter conference)
root@video:/var/lib/galene# ss -nupl | grep galene
> That's way more magic than I like, but perhaps you guys are right.
> I sincerely don't know.
I like it - "sufficiently advanced technology being indistinguishable
from magic" and all that :)
-Toke
next prev parent reply other threads:[~2021-01-19 11:47 UTC|newest]
Thread overview: 20+ messages / expand[flat|nested] mbox.gz Atom feed top
2021-01-18 21:26 [Galene] " Juliusz Chroboczek
2021-01-18 21:38 ` [Galene] " Toke Høiland-Jørgensen
2021-01-18 21:44 ` Juliusz Chroboczek
2021-01-18 21:54 ` Toke Høiland-Jørgensen
2021-01-18 22:03 ` Michael Ströder
2021-01-18 22:04 ` Juliusz Chroboczek
2021-01-18 22:27 ` Toke Høiland-Jørgensen
2021-01-18 22:37 ` Juliusz Chroboczek
2021-01-18 23:05 ` Toke Høiland-Jørgensen
2021-01-18 23:39 ` Michael Ströder
2021-01-19 0:22 ` Juliusz Chroboczek
2021-01-19 11:47 ` Toke Høiland-Jørgensen [this message]
2021-01-19 11:52 ` Juliusz Chroboczek
2021-01-19 12:12 ` Toke Høiland-Jørgensen
2021-01-19 12:37 ` Michael Ströder
2021-01-19 12:48 ` Juliusz Chroboczek
2021-01-19 13:07 ` Toke Høiland-Jørgensen
2021-01-19 8:33 ` Rémi Nollet
2021-01-19 11:00 ` Gabriel Kerneis
2021-01-19 11:21 ` Juliusz Chroboczek
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
List information: https://lists.galene.org/postorius/lists/galene.lists.galene.org/
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=875z3tqhbu.fsf@toke.dk \
--to=toke@toke.dk \
--cc=galene@lists.galene.org \
--cc=jch@irif.fr \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox