github ancsemi/Haven v3.16.14

latest releases: v4.32.0-beta.2, v4.31.1, v4.32.0-beta.1...
6 months ago

Fixed

Voice chat: recurring self-vanish glitch (#5347, again). Previous patches deferred the soft-leave and added a passive self-inject, but neither stopped the root cause — the server's \disconnect\ handler was eagerly evicting the user from \�oiceUsers\ on every blip and broadcasting \�oice-user-left\ to peers. This release stops that at the source:

  • Server-side 4 s grace period before evicting on disconnect. If the user's voice slot is reclaimed by a \�oice-join\ or \�oice-rejoin\ from a new socket before the timer fires, the eviction is cancelled, \�oiceUsers\ is rebound to the new socketId, and peers are never told \�oice-user-left\ — meaning their RTCPeerConnections stay live and audio is uninterrupted across the blip.
  • Fast-path rejoin that skips renegotiation. When the grace-period fast-path triggers, the server sends \�oice-existing-users\ with a new \skipRenegotiate\ flag so the rejoining client does not rebuild fresh RTCPeerConnections on top of working ones.
  • Client-side voice roster watchdog. Every 10 seconds, if we're in voice and the socket is connected, the client polls the server's authoritative roster. If the server confirms we're missing despite claiming to be in voice, \�oice-rejoin\ fires automatically — so any remaining edge case self-corrects within 10 s instead of sticking forever.
  • Verbose [VoiceDiag]\ / [VoiceWatchdog]\ / [VoiceSelfHeal]\ server + client logs at every critical transition.

Don't miss a new Haven release

NewReleases is sending notifications on new releases.