Repository navigation
Report disconnected for older disconnected participants. - #4910
Merged
Merged
Conversation
There are reports of disconnected participant update missing - livekit/client-sdk-js#2096. That results in clients retaining disconnected participant(s) in its roster. Two changes 1. Look for participant disconnects a little farther back than last signal time as client app might have lost visibility earlier. 2. Look at all participants within the relaxed window above. The update cache is LRU. So, in theory can stop when an entry is before the time threshold above. But, theoretically it is possible that `updatedAt` time and LRU queuing time can flip ordering although very unlikely. I think we should do one of the following to make it more robust, but both require client side changes 1. Send full participant list in `ReconnectResponse`. Clients can use that to drop participants not in the list. 2. Add a sequence number to all signal responses (maybe signal requests as well) and have client send up the last response it saw in `SyncState` message. Server can then replay all the messages after that. This also requires a message cache on server side.
paulwe
approved these changes
Sep 25, 2026
pabloFuente
pushed a commit
to OpenVidu/openvidu-livekit
that referenced
this pull request
Sep 28, 2026
There are reports of disconnected participant update missing - livekit/client-sdk-js#2096. That results in clients retaining disconnected participant(s) in its roster. Two changes 1. Look for participant disconnects a little farther back than last signal time as client app might have lost visibility earlier. 2. Look at all participants within the relaxed window above. The update cache is LRU. So, in theory can stop when an entry is before the time threshold above. But, theoretically it is possible that `updatedAt` time and LRU queuing time can flip ordering although very unlikely. I think we should do one of the following to make it more robust, but both require client side changes 1. Send full participant list in `ReconnectResponse`. Clients can use that to drop participants not in the list. 2. Add a sequence number to all signal responses (maybe signal requests as well) and have client send up the last response it saw in `SyncState` message. Server can then replay all the messages after that. This also requires a message cache on server side. (cherry picked from commit 9d8ee5a)
pabloFuente
added a commit
to OpenVidu/openvidu-livekit
that referenced
this pull request
Sep 28, 2026
Upstream livekit#4910 (merged into master after v1.13.7, not yet in a release) is carried ahead of the next tag as the cherry-pick of its squash commit 9d8ee5a. Its follow-up livekit#4911 (93f5b3e) is cherry-picked as well. It is functionally neutral here (a new HandleReconnectAndSendResponse argument the only caller passes as nil, plus a getter for node migration), but it rewrites the same hunk of pkg/rtc/participant_signal.go: with livekit#4910 alone, merging upstream master conflicts in that file. With both, the file matches upstream master exactly. Verified with git merge-tree against livekit/master (6ed445b): the only conflict is the go.sum one that exists without these commits. A trial merge into openvidu-pro-livekit is clean and builds, and the go build, go vet and the full short test suite pass here. Co-Authored-By: Claude Opus 5.5 (1M context) <[email protected]>
eleboucher
pushed a commit
to eleboucher/homelab
that referenced
this pull request
Oct 7, 2026
…7 ➔ v1.13.8) (#2275) This PR contains the following updates: | Package | Update | Change | |---|---|---| | [docker.io/livekit/livekit-server](https://github.com/livekit/livekit) | patch | `v1.13.7` → `v1.13.8` | --- ### Release Notes <details> <summary>livekit/livekit (docker.io/livekit/livekit-server)</summary> ### [`v1.13.8`](https://github.com/livekit/livekit/releases/tag/v1.13.8) [Compare Source](livekit/livekit@v1.13.7...v1.13.8) ##### Added - agent: HTTP endpoints data plane ([#​4779](livekit/livekit#4779)) - use sender report pass through setting to forward abs-capture-time verbatim ([#​4812](livekit/livekit#4812)) - Add sdk lable to session start time and participant join ([#​4885](livekit/livekit#4885)) - Add a local participant method to get recently disconnected ([#​4911](livekit/livekit#4911)) - service: start room composite egress configured in a room preset ([#​4926](livekit/livekit#4926)) ##### Changed - Update github workflows ([#​4446](livekit/livekit#4446)) - Reduce descriptor marshal allocations on Go 1.26.4/linux-amd64 ([#​4681](livekit/livekit#4681)) - config: reject unknown send\_side\_bwe\_pacer, warn on unwired fallback ([#​4804](livekit/livekit#4804)) - Update github.com/livekit/protocol digest to [`a879e94`](livekit/livekit@a879e94) ([#​4864](livekit/livekit#4864)) - Update module github.com/gotesttools/gotestfmt/v2 to v2.5.0 ([#​4865](livekit/livekit#4865)) - Update module github.com/urfave/cli/v3 to v3.11.0 ([#​4867](livekit/livekit#4867)) - Update module golang.org/x/mod to v0.41.0 ([#​4868](livekit/livekit#4868)) - sfu: return VP8 munged header by value to avoid per-packet allocation ([#​4871](livekit/livekit#4871)) - sfu: patch pacer header extensions without per-packet allocation ([#​4872](livekit/livekit#4872)) - Update pion/sdp to get lesser SDP retention ([#​4873](livekit/livekit#4873)) - sfu: skip pacer allocation assertion under the race detector ([#​4874](livekit/livekit#4874)) - sfu: broadcast RTP to down tracks without per-packet allocations ([#​4875](livekit/livekit#4875)) - Track action versions and stop quarantining our own actions ([#​4877](livekit/livekit#4877)) - test: fix two data races in the test suites ([#​4878](livekit/livekit#4878)) - Bump go.opentelemetry.io/otel/sdk ([#​4879](livekit/livekit#4879)) - deps: update psrpc to v0.8.0 ([#​4882](livekit/livekit#4882)) - Update module github.com/moby/moby/client to v0.6.0 ([#​4883](livekit/livekit#4883)) - Update module golang.org/x/sync to v0.23.0 ([#​4884](livekit/livekit#4884)) - Propagate SIP\_TRUNK\_FAILURE ([#​4890](livekit/livekit#4890)) - ccutils: use millisecond resolution for probe interval backoff ([#​4891](livekit/livekit#4891)) - Increase receiver loadbalance threshold when batch io enabled ([#​4899](livekit/livekit#4899)) - rtc: parse each remote offer once per negotiation ([#​4904](livekit/livekit#4904)) - Bump protocol ([#​4909](livekit/livekit#4909)) - rtc: split EndSession out of MoveToRoom ([#​4917](livekit/livekit#4917)) - telemetry: drop the stats worker re-key path ([#​4918](livekit/livekit#4918)) - sfu: report forwarding latency as p90 instead of the mean ([#​4920](livekit/livekit#4920)) - rtc: accept ICE Completed in ICE-restart connect assertions ([#​4921](livekit/livekit#4921)) - rtc: measure data blob keys by their content, not their text form ([#​4923](livekit/livekit#4923)) - Remove deprecatred way of setting prometheus from the config file ([#​4928](livekit/livekit#4928)) - test: give mock participants a connection quality, close test rooms ([#​4933](livekit/livekit#4933)) - update warp dep ([#​4943](livekit/livekit#4943)) ##### Fixed - Do not add down tracks after receiver close ([#​4857](livekit/livekit#4857)) - Do not request media sections for transceivers that cannot send ([#​4892](livekit/livekit#4892)) - Deregister agent job when the server terminates it ([#​4893](livekit/livekit#4893)) - sfu: don't hold bindLock across the blank-frame flush in CloseWithFlush ([#​4895](livekit/livekit#4895)) - dynacast: re-send subscribed qualities after every publisher answer ([#​4907](livekit/livekit#4907)) - agent: release JobTerminate handler when job ends before registration ([#​4908](livekit/livekit#4908)) - Report disconnected for older disconnected participants. ([#​4910](livekit/livekit#4910)) - rtc: record a room's departure when the participant leaves it ([#​4913](livekit/livekit#4913)) - update deps to fix warp issue ([#​4916](livekit/livekit#4916)) - sfu: fix data stats active window bitrate and duration units ([#​4922](livekit/livekit#4922)) - fix: reject instead of drop for no dispatch rule ([#​4927](livekit/livekit#4927)) - fix: skip RTX/FEC when picking a fallback video codec ([#​4930](livekit/livekit#4930)) - fix: do not read invalid delta ([#​4935](livekit/livekit#4935)) - fix: use the fast debounce for the first negotiation ([#​4936](livekit/livekit#4936)) - fix: skip DTLS HelloVerifyRequest ([#​4937](livekit/livekit#4937)) - config: parse generated duration flags as durations ([#​4939](livekit/livekit#4939)) - fix: use the most common recent packet rate in connection quality ([#​4940](livekit/livekit#4940)) - fix: copy RED history packets instead of keeping pointers ([#​4941](livekit/livekit#4941)) - fix: keep one subscription when first subscribes race ([#​4944](livekit/livekit#4944)) - bump protocol to get unlock on no key fix ([#​4945](livekit/livekit#4945)) - fix: count leftover upstream loss after RTX repairs ([#​4946](livekit/livekit#4946)) - fix: switch VP8 temporal layer up only at a layer sync frame ([#​4947](livekit/livekit#4947)) - fix: reconcile everything when the reconcile queue overflows ([#​4948](livekit/livekit#4948)) - fix: enable H.264 publish for desktop Linux Firefox ([#​4949](livekit/livekit#4949)) </details> --- ### Configuration 📅 **Schedule**: (UTC) - Branch creation - At any time (no schedule defined) - Automerge - At any time (no schedule defined) 🚦 **Automerge**: Disabled by config. Please merge this manually once you are satisfied. ♻ **Rebasing**: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox. 🔕 **Ignore**: Close this PR and you won't be reminded about these updates again. --- - [ ] <!-- rebase-check -->If you want to rebase/retry this PR, check this box --- This PR has been generated by [Mend Renovate CLI](https://github.com/renovatebot/renovate). <!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiI0NC4xMzMuMCIsInVwZGF0ZWRJblZlciI6IjQ0LjEzMy4wIiwidGFyZ2V0QnJhbmNoIjoibWFpbiIsImxhYmVscyI6W119--> Reviewed-on: https://git.erwanleboucher.dev/eleboucher/homelab/pulls/2275
hbjydev
pushed a commit
to hbjydev/phoebe
that referenced
this pull request
Oct 13, 2026
…7 → v1.13.9) (#854) This PR contains the following updates: | Package | Update | Change | |---|---|---| | [docker.io/livekit/livekit-server](https://github.com/livekit/livekit) | patch | `v1.13.7` → `v1.13.9` | --- ### Release Notes <details> <summary>livekit/livekit (docker.io/livekit/livekit-server)</summary> ### [`v1.13.9`](https://github.com/livekit/livekit/releases/tag/v1.13.9) [Compare Source](livekit/livekit@v1.13.8...v1.13.9) Please note that release v1.13.8 introduced a behaviour change that caused egress start failures explained in [#​4955](livekit/livekit#4955). This release restores the behaviour to what it was in v1.13.7 and before. ##### Changed - bump protocol and psrpc deps ([#​4958](livekit/livekit#4958)) - sfu/buffer: parse the dependency descriptor without allocating ([#​4953](livekit/livekit#4953)) - sfu/buffer: stop allocating per ingested packet ([#​4951](livekit/livekit#4951)) ##### Fixed - v1 path: check for subscriber_allow_pause presence before using it ([#​4957](livekit/livekit#4957)) - Cap forward-jump loops in SelectorDecisionCache ([#​4952](livekit/livekit#4952)) ### [`v1.13.8`](https://github.com/livekit/livekit/releases/tag/v1.13.8) [Compare Source](livekit/livekit@v1.13.7...v1.13.8) ##### Added - agent: HTTP endpoints data plane ([#​4779](livekit/livekit#4779)) - use sender report pass through setting to forward abs-capture-time verbatim ([#​4812](livekit/livekit#4812)) - Add sdk lable to session start time and participant join ([#​4885](livekit/livekit#4885)) - Add a local participant method to get recently disconnected ([#​4911](livekit/livekit#4911)) - service: start room composite egress configured in a room preset ([#​4926](livekit/livekit#4926)) ##### Changed - Update github workflows ([#​4446](livekit/livekit#4446)) - Reduce descriptor marshal allocations on Go 1.26.4/linux-amd64 ([#​4681](livekit/livekit#4681)) - config: reject unknown send_side_bwe_pacer, warn on unwired fallback ([#​4804](livekit/livekit#4804)) - Update github.com/livekit/protocol digest to [`a879e94`](livekit/livekit@a879e94) ([#​4864](livekit/livekit#4864)) - Update module github.com/gotesttools/gotestfmt/v2 to v2.5.0 ([#​4865](livekit/livekit#4865)) - Update module github.com/urfave/cli/v3 to v3.11.0 ([#​4867](livekit/livekit#4867)) - Update module golang.org/x/mod to v0.41.0 ([#​4868](livekit/livekit#4868)) - sfu: return VP8 munged header by value to avoid per-packet allocation ([#​4871](livekit/livekit#4871)) - sfu: patch pacer header extensions without per-packet allocation ([#​4872](livekit/livekit#4872)) - Update pion/sdp to get lesser SDP retention ([#​4873](livekit/livekit#4873)) - sfu: skip pacer allocation assertion under the race detector ([#​4874](livekit/livekit#4874)) - sfu: broadcast RTP to down tracks without per-packet allocations ([#​4875](livekit/livekit#4875)) - Track action versions and stop quarantining our own actions ([#​4877](livekit/livekit#4877)) - test: fix two data races in the test suites ([#​4878](livekit/livekit#4878)) - Bump go.opentelemetry.io/otel/sdk ([#​4879](livekit/livekit#4879)) - deps: update psrpc to v0.8.0 ([#​4882](livekit/livekit#4882)) - Update module github.com/moby/moby/client to v0.6.0 ([#​4883](livekit/livekit#4883)) - Update module golang.org/x/sync to v0.23.0 ([#​4884](livekit/livekit#4884)) - Propagate SIP_TRUNK_FAILURE ([#​4890](livekit/livekit#4890)) - ccutils: use millisecond resolution for probe interval backoff ([#​4891](livekit/livekit#4891)) - Increase receiver loadbalance threshold when batch io enabled ([#​4899](livekit/livekit#4899)) - rtc: parse each remote offer once per negotiation ([#​4904](livekit/livekit#4904)) - Bump protocol ([#​4909](livekit/livekit#4909)) - rtc: split EndSession out of MoveToRoom ([#​4917](livekit/livekit#4917)) - telemetry: drop the stats worker re-key path ([#​4918](livekit/livekit#4918)) - sfu: report forwarding latency as p90 instead of the mean ([#​4920](livekit/livekit#4920)) - rtc: accept ICE Completed in ICE-restart connect assertions ([#​4921](livekit/livekit#4921)) - rtc: measure data blob keys by their content, not their text form ([#​4923](livekit/livekit#4923)) - Remove deprecatred way of setting prometheus from the config file ([#​4928](livekit/livekit#4928)) - test: give mock participants a connection quality, close test rooms ([#​4933](livekit/livekit#4933)) - update warp dep ([#​4943](livekit/livekit#4943)) ##### Fixed - Do not add down tracks after receiver close ([#​4857](livekit/livekit#4857)) - Do not request media sections for transceivers that cannot send ([#​4892](livekit/livekit#4892)) - Deregister agent job when the server terminates it ([#​4893](livekit/livekit#4893)) - sfu: don't hold bindLock across the blank-frame flush in CloseWithFlush ([#​4895](livekit/livekit#4895)) - dynacast: re-send subscribed qualities after every publisher answer ([#​4907](livekit/livekit#4907)) - agent: release JobTerminate handler when job ends before registration ([#​4908](livekit/livekit#4908)) - Report disconnected for older disconnected participants. ([#​4910](livekit/livekit#4910)) - rtc: record a room's departure when the participant leaves it ([#​4913](livekit/livekit#4913)) - update deps to fix warp issue ([#​4916](livekit/livekit#4916)) - sfu: fix data stats active window bitrate and duration units ([#​4922](livekit/livekit#4922)) - fix: reject instead of drop for no dispatch rule ([#​4927](livekit/livekit#4927)) - fix: skip RTX/FEC when picking a fallback video codec ([#​4930](livekit/livekit#4930)) - fix: do not read invalid delta ([#​4935](livekit/livekit#4935)) - fix: use the fast debounce for the first negotiation ([#​4936](livekit/livekit#4936)) - fix: skip DTLS HelloVerifyRequest ([#​4937](livekit/livekit#4937)) - config: parse generated duration flags as durations ([#​4939](livekit/livekit#4939)) - fix: use the most common recent packet rate in connection quality ([#​4940](livekit/livekit#4940)) - fix: copy RED history packets instead of keeping pointers ([#​4941](livekit/livekit#4941)) - fix: keep one subscription when first subscribes race ([#​4944](livekit/livekit#4944)) - bump protocol to get unlock on no key fix ([#​4945](livekit/livekit#4945)) - fix: count leftover upstream loss after RTX repairs ([#​4946](livekit/livekit#4946)) - fix: switch VP8 temporal layer up only at a layer sync frame ([#​4947](livekit/livekit#4947)) - fix: reconcile everything when the reconcile queue overflows ([#​4948](livekit/livekit#4948)) - fix: enable H.264 publish for desktop Linux Firefox ([#​4949](livekit/livekit#4949)) </details> --- ### Configuration 📅 **Schedule**: (in timezone Europe/London) - Branch creation - At any time (no schedule defined) - Automerge - At any time (no schedule defined) 🚦 **Automerge**: Disabled by config. Please merge this manually once you are satisfied. ♻ **Rebasing**: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox. 🔕 **Ignore**: Close this PR and you won't be reminded about these updates again. --- - [ ] <!-- rebase-check -->If you want to rebase/retry this PR, check this box --- This PR has been generated by [Mend Renovate CLI](https://github.com/renovatebot/renovate). <!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiI0NC4xNTUuMSIsInVwZGF0ZWRJblZlciI6IjQ0LjE1NS4xIiwidGFyZ2V0QnJhbmNoIjoibWFpbiIsImxhYmVscyI6WyJyZW5vdmF0ZS9jb250YWluZXIiLCJ0eXBlL3BhdGNoIl19--> Reviewed-on: https://git.hayden.moe/hayden/phoebe/pulls/854
pabloFuente
added a commit
to OpenVidu/openvidu-livekit
that referenced
this pull request
Nov 5, 2026
Every OpenVidu change to a file that comes from livekit/livekit must sit between BEGIN/END OPENVIDU BLOCK, so that an upstream merge shows at once which lines are ours. An audit against v1.13.7 found changes outside them. Each added line and each deletion point of an upstream file was checked to be inside a fence. Lines that are also on livekit/master were left alone: they come from upstream PRs carried as their own commits (livekit#4907, livekit#4910, livekit#4911), which stay unfenced so that the release containing them merges cleanly. The audit left out go.mod, go.sum and blank lines next to a fence. Fenced now: - pkg/routing/selector: AvailableSeconds raised to 30, and the two tests that follow it (any_test.go, utils_test.go). - pkg/rtc/participant.go: the UpdateTrackInfoByVideoSizeChange field of the screen share size change. - pkg/service/turn.go: the relay address check now tests effectiveRelayIP. The existing block above it is extended to cover it. turn_test.go: the NewTurnServer call with its extra argument. - pkg/service/server.go: Start no longer closes closedChan before returning, because it is deferred at the top of Start. A fenced comment marks where the upstream line was. - Imports of OpenVidu code moved into a fenced group at the end of their import block: "time" in egress.go, "math/rand/v2" and github.com/bsm/redislock in redisstore.go, the protocol logger in telemetry/prometheus/node.go. - Dockerfile (COPY openvidu/), buildtest.yaml (the openvidu/main branches) and config-sample.yaml (the relay allocation default of 32, enable_rfc6062 and the reworded allow_restricted_peer_cidrs). - pkg/routing/redisrouter.go: a fence nested inside the RemoveDeadNodes block is removed. gofmt realigns the struct literal fields around a fenced field, so a few upstream lines next to the new fences in participant.go and any_test.go differ from upstream only in whitespace, as in turn.go already. Verified: go build ./..., go vet and gofmt on the changed files; go test -short ./pkg/routing/... ./pkg/service/ ./pkg/telemetry/... ./pkg/rtc/ ./pkg/config/. Re-running the audit finds nothing unfenced. A trial merge into openvidu-pro-livekit, together with its own fence commit, is clean, builds and passes the same tests. Co-Authored-By: Claude Opus 5.5 <[email protected]>
pabloFuente
added a commit
to OpenVidu/openvidu-livekit
that referenced
this pull request
Nov 6, 2026
Conflicts: .github/workflows/buildtest.yaml, go.mod, go.sum, pkg/rtc/config.go, pkg/rtc/mediatrackreceiver.go, pkg/rtc/participant.go, pkg/service/server.go and pkg/service/turn.go. Upstream's TURN relay policy (livekit#4992, pkg/service/turnrelay.go) is taken as is: every TURN server refuses RFC 6062 TCP relays, and the embedded one relays to this host's own addresses only on its RTC media ports. It replaces the OpenVidu relay generator (ICE port range check, RFC 6062 opt-in, standalone telemetry): - the media port limit stays for every peer, not only this host, as one fenced wrapper over upstream's chain (openviduRelayPortPolicy): TURNSecurity lets the relay reach the other cluster nodes' private addresses, which sit behind the same firewall. The ports come from upstream's getTURNMediaPorts (the ICE port range, else rtc.udp_port plus 3478 with rtc.use_stun_port_as_ice, none with rtc.force_tcp), and packets to other ports are dropped silently as upstream does; a node with only rtc.udp_port used to drop every relayed packet. - turn.enable_rfc6062 is deprecated and ignored: upstream refuses TCP relays unconditionally, and the key shipped in 3.8.0, so it stays parsed (strict config parsing would refuse the files that set it) and logs a warning. - the standalone relay telemetry duplicated upstream's. TURNSecurity's cluster-node peer allowlist, the relay address resolution, the idle TCP timeout and the quota default stay: upstream declined to limit relay peers to the media nodes. The allow-list check reuses upstream's isRestrictedPeerIP, so the carrier-grade NAT, NAT64 and other special ranges count as restricted too. Upstream's new turnrelay_test.go passes with NewTurnServer's rc argument fenced in. The upstream PRs carried unfenced since 3.9.0 (livekit#4907, livekit#4910, livekit#4911) merge away with no leftover delta. Our tests follow psrpc's move from NewRedisMessageBus to redisbus.New. go.mod takes upstream's versions and keeps our requires (go mod tidy); wire_gen.go merged on its own, and regenerating it only differs in the fence comments. The failed-tests step added upstream to the Test workflow also reads the analytics integration log. Verified: go build and go vet, golangci-lint on the touched packages, go test -short ./... with a Redis on localhost:6379, the 116 TURN tests including upstream's relay policy tests through TURNSecurity, and the analytics integration tests (go test -tags integration ./openvidu/analytics/...). Co-Authored-By: Claude Fable 5.1 <[email protected]>
This was referenced Nov 11, 2026
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
There are reports of disconnected participant update missing - livekit/client-sdk-js#2096. That results in clients retaining disconnected participant(s) in its roster.
Two changes
updatedAttime and LRU queuing time can flip ordering although very unlikely.I think we should do one of the following to make it more robust, but both require client side changes
ReconnectResponse. Clients can use that to drop participants not in the list.SyncStatemessage. Server can then replay all the messages after that. This also requires a message cache on server side.