The relay's socket error listener ended with `throw error`. A listener that throws
escapes EventEmitter.emit, so it became an uncaught exception that terminated the
whole process. Because the throw also aborts the remaining listeners, it prevented
the startup promise from ever settling when the socket failed to bind.
- extract an idempotent shutdown() used by both close() and error handling
- reject the startup promise when the failure happens before listening, so a failed
bind behaves like any other rejected startup rather than a process crash
- tear the relay down and report via a new onError callback once it is running
- release the socket and sweep interval on a synchronous bind failure, which never
emits error at all
- add 3 regression tests covering bind failure, a surviving relay after a failed
sibling startup, and idempotent close
- register the new test file in the npm test list so CI actually runs it
Verified: tsc --noEmit is clean and the 3 new tests pass. Before the fix the same
bind failure terminated the process with an uncaught EADDRINUSE instead of
rejecting the startup promise.
setCodecPreferences requires codecs from RTCRtpSender.getCapabilities;
feeding it RTCRtpReceiver.getCapabilities throws InvalidModificationError
in Chrome and the swallowed exception left VP8 as the negotiated codec.
Switch the capability source so H264/AV1 preferences actually apply.
Add a bitrate select to the screen share settings dialog (auto by
resolution, or a fixed 1.5/3/5/8/12 Mbps cap), persist the choice in
localStorage, and pass it through ScreenShareOutputSettings.maxBitrate
so configureScreenShareVideoSender applies the user-chosen budget
instead of only the height-scaled default.
setCodecPreferences requires codecs from RTCRtpSender.getCapabilities;
feeding it RTCRtpReceiver.getCapabilities throws InvalidModificationError
in Chrome and the swallowed exception left VP8 as the negotiated codec.
Switch the capability source so H264/AV1 preferences actually apply.
Add a bitrate select to the screen share settings dialog (auto by
resolution, or a fixed 1.5/3/5/8/12 Mbps cap), persist the choice in
localStorage, and pass it through ScreenShareOutputSettings.maxBitrate
so configureScreenShareVideoSender applies the user-chosen budget
instead of only the height-scaled default.
- .join-footer: background var(--surface-0) so it matches page theme in light/dark/system; z-index 2 so it stays above join-content overlap on short viewports
- .join-content: overflow-y auto on desktop so oversized copy scrolls inside the container instead of spilling into the footer
Float .desktop-audio-dock at the bottom of .member-panel and .message-composer at the bottom of .chat-panel on desktop (>=741px):
- switch both from in-flow to absolute positioning, keeping the original visual anchor semantics
- width follows the parent content width (left/right insets align with member-panel horizontal padding / chat-panel zero padding)
- add padding-bottom compensation to .member-panel and .chat-panel so member/message lists are not covered
- mobile layout (<=740px) remains untouched
- WebClient: divide fixed offsets and viewport heights by --ui-scale on large displays; fix member context menu position
- WebClient: use 100dvh/100svh with fallbacks on mobile; constrain workspace-content height so message list scrolls properly
- AdminView: keep html/body at real viewport while zoomed admin shell divides height by scale
- DemoView: divide poke banner offsets by --ui-scale to keep intended margin
- package-lock: drop stale peer flags