Commit Graph
16 Commits
Author SHA1 Message Date
Jannis Mattheis d71c303df7 Use IPv4 stun for IPv6 connections
* User1 connects with IPv6
* User2 connects with IPv4 (without any support for IPv6)
* User1 asks via STUN for his address, and receives a IPv6 address back
* User2 asks via STUN for his address, and receives a IPv4 address back
* User2 cannot connect to User1 IPv6 address

After this fix: User1 asks both for his IPv4 and IPv6 addresses.

See #56
2020-12-03 19:49:31 +00:00
Jannis Mattheis 75773e9946 Disallow TURN login after session close 2020-10-27 10:33:02 +01:00
Jannis Mattheis d304472572 Add ipv6 support 2020-10-27 08:54:26 +00:00
Jannis Mattheis 3191988801 Don't fail on unknown session
There may be a race condition if a user disconnects and the other peer
just sent a p2p message.

Fixes #14
2020-10-23 19:40:06 +02:00
Thomas von Rosenberg 3f2b2b135c Use counters instead of gauges 2020-10-15 16:41:01 +00:00
Broder Peters afeb72f66a Rename sharing to streaming 2020-10-11 09:09:22 +00:00
Jannis Mattheis d228b19430 Fix stopshare event
See #28
2020-10-09 16:37:39 +02:00
Thomas von Rosenberg 54859ed19c Add prometheus endpoint 2020-10-09 16:00:59 +02:00
Jannis Mattheis 7efeccad52 Properly close share sessions 2020-10-09 13:46:37 +00:00
Jannis Mattheis 4c849059ba Use logged in username as username in room 2020-10-09 13:46:37 +00:00
Jannis Mattheis 10b0b40324 Fix deadlock 2020-10-09 08:03:56 +00:00
Jannis Mattheis 343c1e747e Improve logging 2020-10-09 08:03:56 +00:00
Jannis Mattheis 91bee5750e Fix "write on closed channel"
Fixes #19
2020-10-09 08:03:56 +00:00
Jannis Mattheis 9694f3828d Add ?transport=tcp url to TURN ICE
See #21
2020-10-09 08:03:56 +00:00
Jannis Mattheis d4518eaf89 Log events 2020-10-09 08:03:56 +00:00
Jannis Mattheis 81743cbb4d Add websocket handler 2020-10-04 20:10:38 +02:00