225 Commits

Author SHA1 Message Date
Jannis Mattheis 7dec440304 Merge pull request #250 from swindi-dev/fix/transient-disconnected
fix: don't close peer connection on transient 'disconnected' state
v1.12.5
2026-08-20 20:30:12 +02:00
SWINDI 9f87229a8f fix: don't close peer connection on transient 'disconnected' state
Both connectionstatechange handlers treated 'disconnected' the same as
'closed' and 'failed' and immediately called peer.close().

Per the WebRTC spec, 'disconnected' only means that ICE connectivity checks
are currently failing. The connection frequently recovers on its own -- brief
network hiccups, Wi-Fi roaming between access points, or NAT rebinding all
trigger it. Calling close() makes that recovery impossible, because a closed
RTCPeerConnection cannot be reopened.

The result was that a short network glitch permanently killed the stream and
the viewer had to reload the page. Leaving 'disconnected' unhandled lets the
browser's own ICE recovery do its job.

Refs #53
2026-08-20 20:25:04 +02:00
Jannis Mattheis eab15068a1 fix: remove badges 2026-08-01 10:41:37 +02:00
Jannis Mattheis f946cee83b Merge pull request #245 from dongdigua/master
Add support for riscv64
v1.12.4
2026-05-13 22:13:17 +02:00
Jannis Mattheis 8c82c116f5 fix: disable window arm 2026-05-13 22:06:01 +02:00
dongdigua 8d1d80beab Add support for riscv64
Co-authored-by: Copilot <copilot@github.com>
2026-05-10 21:37:46 +08:00
Jannis Mattheis be8b0f09b4 Merge pull request #244 from screego/update
Update
v1.12.3
2026-04-25 10:23:12 +02:00
Jannis Mattheis fa5eb939ff fix: update workflows 2026-04-25 10:17:04 +02:00
Jannis Mattheis 4c42abc74e fix: update go version 2026-04-25 10:14:07 +02:00
Jannis Mattheis 20f3356604 fix: update dependencies 2026-04-25 10:14:07 +02:00
Jannis Mattheis 5285d3e079 fix: goreleaser args v1.12.2 2026-01-01 14:07:42 +01:00
Jannis Mattheis 92bbd235f1 fix: goreleaser version v1.12.1 2026-01-01 13:58:33 +01:00
Jannis Mattheis b93565b502 fix: goreleaser version 2026-01-01 13:57:16 +01:00
Jannis Mattheis c8a3a33a7c Merge pull request #238 from screego/update
Update
2026-01-01 13:48:21 +01:00
Jannis Mattheis 3c0d0f4589 ci: add golangci config 2026-01-01 13:42:03 +01:00
Jannis Mattheis 08db40b3d0 fix: update deps 2026-01-01 13:37:00 +01:00
Jannis Mattheis fa0781fcfe docs: update nat-traversal 2025-12-22 11:38:16 +01:00
Jannis Mattheis 9b0b6ab443 docs: network_mode notice 2025-06-24 19:24:06 +02:00
Jannis Mattheis acb8287706 Merge pull request #222 from screego/audio
feat: system/tab audio on supported systems
v1.12.0
2025-05-08 13:36:53 +02:00
Jannis Mattheis 3f33538816 feat: system/tab audio on supported systems 2025-05-08 13:18:12 +02:00
Jannis Mattheis 12a3e5c3d4 docs: remove docker-compose version
It's obsolete and not used anymore.

See https://docs.docker.com/reference/compose-file/version-and-name/#version-top-level-element-obsolete
2025-04-24 18:49:07 +02:00
Jannis Mattheis 45eba58b97 Merge pull request #216 from screego/update-fixes
Update & fixes
v1.11.3
2025-04-12 18:13:57 +02:00
Jannis Mattheis 2654df56d5 fix: update workflow 2025-04-12 18:07:01 +02:00
Jannis Mattheis 7928a4203e fix: crash in chrome
See #215
2025-04-12 18:00:59 +02:00
Jannis Mattheis 14ff43d812 fix: update dependencies 2025-04-12 18:00:59 +02:00
Jannis Mattheis 40529d46e3 Merge pull request #209 from screego/stuff v1.11.2 2024-12-07 12:30:49 +01:00
Jannis Mattheis 0ed905dc8e fix: update dependencies 2024-12-07 12:17:32 +01:00
Jannis Mattheis b6094d54f2 fix: prevent deadlock by timeouting blocking writes 2024-12-07 12:15:44 +01:00
Jannis Mattheis 40ad444c84 fix: limit /health timeout to 5 seconds 2024-12-07 09:56:53 +01:00
Jannis Mattheis bcf590f2c3 ci: lint action v1.11.1 2024-10-11 15:27:34 +02:00
Jannis Mattheis be6898d129 Merge pull request #205 from screego/race-condition
Fix race condition (no room can be created)
2024-10-11 15:19:59 +02:00
Jannis Mattheis ae86223ace fix: add health endpoint 2024-10-11 15:11:07 +02:00
Jannis Mattheis a0f3c37498 fix: race condition
In client.go

    if room, ok := message.(outgoing.Room); ok {
            c.info.RoomID = room.ID
    }

this part isn't thread safe. It could happen that user disconnected but
wasn't removed from a room, because the disconnecting go routine
couldn't see the roomID yet.
2024-10-11 15:11:07 +02:00
Jannis Mattheis 54f9fb6b9e Merge pull request #202 from screego/deny
feat: add `SCREEGO_TURN_DENY_PEERS`
v1.11.0
2024-09-28 14:13:40 +02:00
Jannis Mattheis 5fda00ef92 feat: add SCREEGO_TURN_DENY_PEERS
Deny/ban peers within specific CIDRs to prevent TURN server users from
accessing machines reachable by the TURN server but not from the
internet, useful when the server is behind a NAT.

By default denies local addresses.
2024-09-28 14:07:03 +02:00
Jannis Mattheis e5864f38a8 Merge pull request #201 from screego/stuff
Fix goroutine leak & update deps
2024-09-27 16:23:28 +02:00
Jannis Mattheis 46467a3f79 fix: update dependencies 2024-09-27 16:20:15 +02:00
Jannis Mattheis da3f5b1692 fix: goroutine leak 2024-09-27 16:20:15 +02:00
Morya a755327c74 refactor: rename var
auth is a pkg name, should avoid been clouded
2024-08-25 08:53:18 +00:00
Jannis Mattheis 4df473779d fix: log full events v1.10.5 2024-08-17 18:29:44 +02:00
Jannis Mattheis d9b4d3cedc Merge pull request #191 from screego/unsupported-errors
fix: add unsupported browser error
v1.10.4
2024-08-16 09:42:01 +00:00
Jannis Mattheis a24ca719e0 fix: add unsupported browser error 2024-08-16 11:01:25 +02:00
Jannis Mattheis a09b4e9d86 Merge pull request #182 from ipitio/patch-1
add ghcr badge
2024-06-23 20:56:06 +02:00
ipitio 0318b8e59b add ghcr badge
ghcr.io's api doesn't let you see the pull count so I created [ghcr-pulls](https://github.com/ipitio/ghcr-pulls), a daily scraper that updates the count and makes this badge possible. I noticed that you use ghcr and have a docker hub counter and thought you might find this useful.
2024-06-10 08:38:07 +00:00
Jannis Mattheis ef305830ad Merge pull request #179 from screego/deps
fix: update dependencies
v1.10.3
2024-02-10 20:26:17 +01:00
Jannis Mattheis 34167c99ac fix: update dependencies 2024-02-10 20:21:45 +01:00
Jannis Mattheis 6bc29f93da fix: better room name generation
See #173
v1.10.2
2023-11-20 18:40:09 +01:00
Jannis Mattheis 9fd662679a Merge pull request #169 from screego/stuff
Migrate to vite & update deps
v1.10.1
2023-09-21 19:50:39 +02:00
Jannis Mattheis af3e1bbfff fix: update frontend deps 2023-09-21 19:44:46 +02:00
Jannis Mattheis 933352d01d fix: update backend deps 2023-09-21 19:44:46 +02:00