Skip to content
← Latest updates

Updates: May 2026

What shipped on Dope Vibes in May 2026.

New Home: dopevibes.now

May 23, 2026

  • Dope Vibes now lives at dopevibes.now. Everything you know is the same — same community, same games, same Plug, same Solo lounge — just a shorter, easier URL to share. Old theweedvlog.com bookmarks keep working: every request gets 308-redirected to the same page on dopevibes.now, so links you've shared in the past won't break. Email addresses (moderation, alerts, suggestions) still use @theweedvlog.com while we finish DNS verification on the new domain.

Narc Nightmare Now Plays as a Game Sesh

May 22, 2026

  • Narc Nightmare — the co-op raid FPS where you and your sesh-mates push through narcs together — is now in the in-chat game picker. When someone starts it, everyone else in the room gets a 'Raid in progress' prompt and can either jump in or sit it out on cam. If you sit out, voice chat keeps running and a floating 'Raid in progress — Join' button stays parked at the bottom of the screen so you can drop in any time without leaving the room. Each new raid re-asks every player, so you can sit one out and jump into the next.

How to Play, Right Inside the Game

May 22, 2026

  • Every in-chat game picked up a '?' button up in the corner next to minimize and close. Tap it for a short how-to-play card — what the goal is, the basic rules, how a turn works — without having to leave the game or hunt around the site. Each game has its own card, from the classics like Chess and Checkers to the weed-themed games like Weedopoly, Weed Spades and Weed Battleship, all the way to Narc Nightmare. If a card reads wrong or feels off, the bottom of the card points you at the 💡 Suggestion Box so we can clean it up.

Solo Lounge Goes Camera-Free

May 22, 2026

  • Solo Lounge no longer asks for your camera. It's a chill-alone space — TV, radio, and the in-chat games — so we cut the camera prompt out of the entry. If you decide to invite people in later, you can flip the cam on then. The Solo Lounge tile on the home page now reflects this: 'Chill solo with TV, radio & games — no camera, just vibes.'

Heads-Up on New Games

May 22, 2026

  • The newer games in the picker now show a small 'work-in-progress' note when you open them, so first-time players know a game is still being polished. The note only appears while the game is open and disappears once you minimize it — and the games still play the same as before, this is just a little nudge that we're still iterating.

Group Sessions Get Game Night

May 21, 2026

  • Weed Tetris, Weed Spades, Weed Dominos and Weed Battleship are now playable in group video sessions, not just 1-on-1 — they've joined the multi-cam game picker alongside Weedopoly, Ka-Blam and the rest.
  • Weed Spades and Weed Dominos were rebuilt for 2 to 4 players. Dominos deals every seat a hand from the double-six set and the turn passes around the table; the board blocks when everyone passes in a row and the lightest hand wins. Spades deals thirteen cards per seat with the leftover deck as a shared draw stock — a four-player game uses the whole deck, so it skips the draw phase and goes straight to bidding — and every seat is scored on its own bid.
  • Weed Battleship became a 2 to 4 player free-for-all. Everyone hides their own farm, and on your turn you pick which rival to firebomb before choosing a cell. A farm that's fully torched is knocked out and that player drops to spectating; the last farm standing wins. As always, no farm layout ever leaves your device — each side's own browser is the only thing that knows where its plots sit.

Weedopoly: The Free Sesh Kitty

May 21, 2026

  • Free Sesh is no longer just a place to kick back. Every dollar paid to the bank now piles into a kitty — card fees and fines, jail bail, property purchases and building costs all feed it. Land on Free Sesh and you scoop the entire pot. The board square shows the running total so the whole table can watch it grow, and a fat kitty can swing a game in a single roll.

Games Fit Your Phone

May 21, 2026

  • Opening a game on a phone no longer blanks out the video call. A game now docks as a panel along the bottom of the screen with the cameras still live above it — and you can drag the handle at the top of the panel to trade space between the game and the video.
  • The game is scaled to fit that panel, so a big board like Weedopoly shows in full instead of running off the edge of the screen. Drag the panel taller for a bigger board.
  • The “Pick a game” list is now collapsible and starts collapsed on phones, so a long list of games no longer pushes the camera view off-screen.

Now Available Worldwide

May 21, 2026

  • Dope Vibes is no longer limited to the Americas — the regional restriction has been lifted, so the site is reachable from anywhere.
  • Cleaned up the TV guide: 39 channels were taken down after testing. As with past channel removals, each is replaced with an Off Air placeholder so the surrounding channel numbers stay put, and the Channel Guide plus channel up/down and auto-scan skip straight past them.

Four New Games: Weed Dominos, Battleship, Spades & Tetris

May 21, 2026

  • Weed Dominos — the classic double-six draw game for two. You're each dealt seven bones from a shuffled 28-tile set and the rest sit in the boneyard. Match a tile to an open end of the line; if you can't go, draw from the boneyard until you can, or pass when it's empty. First to empty their hand wins, and if the board locks up with nobody out, the lighter hand takes it. The pips are drawn as little pot leaves.
  • Weed Battleship — hide your grow, firebomb theirs. Instead of ships you place five farm plots on a 10×10 grid — a five-cell Greenhouse down to a two-cell Seedling Tray — then trade turns lobbing molotov cocktails at the rival's farm. Hits set a plot ablaze, misses splash in the dirt, and the first farm fully torched loses. Drop your plots by hand or hit Random. Your layout is never sent to your opponent — each side's own device is the only thing that knows where its farm sits, so there's no peeking.
  • Weed Spades — the trick-taking card classic, two-handed cutthroat style, with pot leaves as the trump suit in place of spades. After the deal there's a draw phase to build your hand: peek the top card of the stock and keep it (ditching one you don't want) or discard it. Then you bid how many tricks you'll take and play all thirteen out — follow the led suit if you can, leaves beat everything, and you score for hitting your bid or get set for missing it. Nil bids are in.
  • Weed Tetris — a solo high-score run. The seven tetromino shapes fall as blocks of coloured pot leaves; clear lines to score and climb twenty levels as the drop speed creeps up. A ghost piece shows where the current shape will land, there's a next-piece preview, and your personal best is saved on your device. Play with the on-screen buttons, or on desktop the arrow keys — left/right to move, down to soft-drop, up to rotate, space to hard-drop.
  • All four join the game picker in 2-person video sessions. You can also try them on the /games practice page, which runs each game in a two-seat layout so you can learn the rules without waiting for a match.

Weedopoly Audio Cleanup

May 20, 2026

  • Weedopoly sound effects play at an even level now. Each hop/land/rent clip used to be cloned into a fresh audio node per play, so a long roll stacked overlapping hop sounds and the volume swelled square by square. It now reuses one element per sound and restarts it on each trigger, so every hop plays at the same fixed level no matter how far you roll.
  • Landing on a property you owe rent on now plays only the rent sound. It used to play the land thud and then the rent sound a beat later; the token-hop animation now swaps the rent sound in for the land sound on the final square, so a rent landing is just the pay-rent audio — and it hits exactly when the token lands instead of 250ms after.

Checkers Multi-Jump

May 20, 2026

  • Checkers now chains multi-jumps into a single turn. A capture used to end your turn even when the piece that just jumped could immediately jump again — so a double or triple jump was impossible. Now, after a capture, if the landing piece has another jump available it stays selected and the turn holds; you keep jumping until no capture remains. A man that reaches the back row mid-jump is kinged and stops there (standard rule); a king chains freely. The whole chain is sent to the other player as one move event carrying the start square plus the full path of hops, so the turn still maps to exactly one network message and every intermediate jump replays in order on the other side.
  • Hid CH 1312 (TV Land Drama) — replaced with an Off Air placeholder so the surrounding channel numbers don't shift; the guide hides it and channel up/down/scan skip past it.

Two-Axis Tile Resize, Room-Synced TV, Weedopoly Buildings

May 20, 2026

  • Multi-cam tiles can now be sized in both dimensions even in a 1-on-1. The bottom-edge row-resize handle only ever appeared when tiles wrapped onto two or more rows, so a 1-on-1 — two tiles side by side in a single row — had no boundary to drag vertically. Two additions close that. A stack-layout toggle (▤/▥ button at the top-center of the video grid) flips the room between side-by-side and stacked; stacked forces a single column, so every tile gets its own row and the existing ▲▼ row handle applies even with two people. Separately, every tile now carries a ◢ corner grip at its bottom-right — drag it to set that tile's own width and height anywhere from 30% to 100% of its grid cell, independent of the shared column/row lines, and double-click to reset. The vote-kick button moved up off the bottom-right corner to clear room for the grip.
  • Room TV is now synced to the host. When the host has the TV up, anyone joining the room gets it too — popped up on the host's channel automatically. The TV tile used to be a purely client-side toggle: a guest who joined a room where the host was already watching never saw it, and a host showing or hiding the TV didn't propagate to anyone. The server now tracks TV visibility per session via a host-only tv:visible event (mirroring the existing channel-sync plumbing), pushes it to new joiners on every join path, and carries it on the 15-second session-sync heartbeat as a catch-all heal. A host showing or hiding the TV now syncs the whole room live. A guest can still toggle their own TV — a local override flag keeps the heartbeat from overriding their choice — and the host's next show/hide re-syncs everyone back onto the same vibe.
  • Weedopoly gets a property development ladder. Once you own every property in a colour row (a monopoly), a 🏠 Build panel opens up: develop each property through six levels — one, two, three homegrows, then the three homegrows become a weed farm, a second weed farm, and finally a pot shop. Each addition costs half the property's price, and rent climbs with every level (property price × 0.30 at a bare monopoly, up to × 4.20 with a pot shop on it). Building happens pre-roll on your own turn, the same window as proposing a deal; the panel lists each monopolied property with its current tier and live rent, the board tiles show a 🌱/🏡/🏪 icon strip, and a player's buildings are released back to the bank if they go bankrupt.
  • The /chat game picker now shows pot-leaf icons for Trap Star and Weedopoly instead of plain emoji, matching the look the standalone /games test harness already had — Trap Star a blue leaf, Weedopoly a green one — across all three picker render sites (the 2-cam grid, the multi-cam pill row, and the minimized-game pill).
  • The About page picked up a short paragraph on the in-session games for SEO — naming Weedopoly, Trap Star, and the pot-leaf board-game classics — so the games surface in search alongside the video-chat and forum copy.

Matchmaking Strand Rescue + Solo-Room Monitoring

May 20, 2026

  • The 1-on-1 queue got a periodic re-match rescue. findMatch2 — the 1-on-1 pairing pass — only ran on a join or skip event, so two people left waiting in the queue who were vibe-mismatched when they joined, or filtered apart by a skip-pair cooldown, were never re-evaluated and could sit stuck for the full 10-minute cooldown. New sweepQueue2 runs every 5 seconds, mirroring the multi-cam solo-room sweep: a normal re-match pass first (respecting cooldowns and vibe overlap once both have waited past a short window), then a cooldown-bypass pass after a 30-second grace period so a tiny pool can't strand itself. The queue snapshot is liveness-filtered so a dead socket can't be matched into a live one.
  • Fixed a matchmaking aggravator in the queue:join handler — it was recording a 10-minute skip-pair cooldown against every current partner's IP on every re-queue. But queue:join isn't a skip: it fires on the initial connect, on a partner-left auto-rejoin, and on a manual re-search. The in-session 'next person' button is the separate skip event, which still records the cooldown correctly. The effect of the bug was that a multi-cam match which was signalled but never established at the WebRTC layer would, on re-queue, cooldown-ban the pair for 10 minutes — and in a small user pool that stranded both people on 'finding.' queue:join now passes through as a plain disconnect with no cooldown.
  • The admin monitor counts solo rooms as their own metric now. A solo room — a multi-cam session with nobody else in it, someone parked alone waiting to merge — was being folded into the 'in session' and 'active rooms' counts, so the monitor would report something like '1 chatting, 1 room' when nobody was actually chatting. /admin/status now returns soloRooms separately, excluded from the in-session and active-room totals and subtracted from idle; the monitor page surfaces it in the hero line and the Connections check detail.

Vertical Tile Resize

May 15, 2026 — evening

  • Multi-cam tiles can now be resized vertically too. Each tile already had a right-edge handle (◀ ▶ buttons + drag bar) for column width; mirrored it on the bottom edge with ▲ ▼ buttons + a drag bar that pushes the row boundary up or down. Drag-resize uses pointer Y delta + container height; tap-nudge bumps the boundary by 0.2fr at a time. Same min-fraction clamp (0.4fr nudge floor, 0.25fr drag floor) keeps the smaller side from collapsing to zero.
  • Implementation collapsed the duplicated col-resize logic into a single beginResize(axis, idx, fractions) helper that closes over either colFractions or rowFractions; onResizeMove branches on the axis tag in resizeRef to read clientX/clientWidth or clientY/clientHeight. nudgeColumn / nudgeRow are thin shims over a shared nudgeBoundary. Net: one set of handlers serves both axes instead of two parallel implementations. rowCount = ceil(tileCount / colCount) drives a new gridTemplateRows alongside gridTemplateColumns (replaces the prior gridAutoRows: '1fr'). The bottom handle hides on the last row, on the row-spanning expanded tile, and on single-row layouts (2-cam in landscape, 3-cam in 3-col, etc.) so it never appears with nothing to resize against. Double-clicking either nudge button still resets both axes to 1fr.

Forum → 4chan Catalog Grid + Channel-Skip Fix

May 15, 2026

  • Forum redesigned from a single-column Twitter-style feed into a 4chan-style catalog grid. Responsive 2/3/4/5 columns (mobile → desktop), dense ~180px-min cards showing avatar + handle, body snippet (line-clamp-6), one vibe chip with +N overflow, and a footer with like + reply counts. Container widened from max-w-xl to max-w-6xl. The whole card is the click target into /forum/[id]; nested Linkify <a> tags were dropped from the snippet so they can't steal the card click. Existing thread page and compose modal are unchanged.
  • Threads now sort by last_reply_at (4chan-style bump) instead of created_at — active threads stay visible, dead ones sink. New schema column on forum_posts (backfilled from created_at, indexed desc nulls last) plus increment_reply_count() updated to set last_reply_at = now() on every reply. Realtime subscription was extended to forum_replies INSERTs so a new reply bumps the parent thread to the top of the grid live, without re-fetching. Migration must be run in the Supabase SQL editor before the deploy goes live or new replies will fail.
  • Channel skip bug: working channels (the user hit it on CH 1235) were getting silently skipped on revisit — even after favoriting them. Two compounding bugs in app/components/RoomTV.tsx. First: a single fatal HLS error broadcast the channel as dead globally (POST /iptv/report-dead → flips iptv_health unhealthy in Supabase → io.emit('iptv:channel:dead') → every connected client's globalDeadUrls set + persisted across Railway restarts). One transient blip during ad transitions or buffer stalls killed the channel for everyone for up to 6 hours, until the next probe revived it. Second: favorites were cosmetic — the star toggle wrote to localStorage but isDeadIndex never consulted favorites, so a favorited dead channel was still skipped during chan-up/chan-down/scan.
  • Fix: favorites now bypass isDeadIndex entirely (user explicitly opted in — never auto-marked dead, never skipped, never broadcast). Mid-watch errors no longer broadcast — added an everPlayedRef that flips true once 'playing' fires; if it's true when a fatal error hits, the failure is treated as transient and reported only locally to the current viewer's session, not pooled into the global dead map. Only failures that happen before the stream ever starts (manifest load failure, immediate fatal on first chunk) propagate to /iptv/report-dead. The ref resets on every channel change so the new channel starts fresh.
  • Manual revival required for channels already poisoned in iptv_health from the old behavior — `update iptv_health set healthy = true where url = '...'` in the Supabase SQL editor, or wait up to 6h for the next probe cycle to re-verify them naturally.

One-Tap Audio Balance for Multi-Cam Rooms

May 14, 2026 — evening

  • New 🎚️ button in the bottom control bar (right after the speaker picker) whenever you're in a multi-cam room with 2+ partners. Tap it and the room samples each cam's actual audio loudness over a 1.5-second window via Web Audio AnalyserNodes — the analyser is wire-tap only, never connected to your speakers, so the measurement doesn't double up the audio your video tiles already play. Then it attenuates the louder cams down toward the quietest audible cam so everyone sounds about equal. The room settles at the quiet cam's level rather than boosting the quiet one up — that's a hard cap of the HTML video volume property, which only goes 0–100%. The per-cam volume sliders still work the same as before; the button is for clearing wild loudness mismatches in one tap instead of opening every cam's slider in turn. Hidden in 1-on-1 mode (nothing to balance) and while you're alone in a multi-cam room. Pulses green and disables itself during the 1.5s sample so a double-tap can't kick off a second measurement.
  • Plumbing note: partnerVolumes state was hoisted out of VideoGrid up into chat/page.tsx so the new ControlBar button and the existing per-cam sliders share one source of truth (VideoGrid now consumes partnerVolumes + setPartnerVolume as props). If we ever want true loudness equalization — boosting the quiet cam up instead of just turning the loud one down — the upgrade path is routing each remote stream through a per-stream GainNode and muting the underlying video element. Bigger lift; deferred until someone actually asks. Also bundled in: an uncommitted VideoGrid UI tweak that had been sitting in the tree (volume + expand buttons moved to bottom-left and made always-visible instead of hover-revealed) — same component, same commit.

3-Cam Connection Fix + Vote-to-Join Removed

May 14, 2026

  • Fixed a 3-cam regression from the 5/13 onnegotiationneeded work. That handler fires whenever tracks are added to a peer connection — including during the initial startCall setup. The guard was 'signalingState !== stable', but a non-initiator's connection sits at 'stable' until the initiator's offer arrives, so it sailed past the guard and emitted an offer it was never supposed to send. With two people, perfect-negotiation rollback untangled the resulting glare; with three (six peer connections, six spurious offers racing three real ones) it overwhelmed the resolution and connections hung. The handler is now gated on the connection being established (connectionState 'connected', or iceConnectionState 'connected'/'completed'), so it only ever handles post-connection track changes — camera recovery, late joins — and never races the initial handshake.
  • Vote-to-join removed — joining an active multi-cam room is now instant, no popup. Previously a 3rd/4th camera had to be voted in by the existing members; when they didn't vote (popup missed, AFK), the joiner got stuck in a vote-then-10-second-timeout loop and never connected. It was worst for two people on the same network, whom matchmaking routes toward the vote-gated room instead of toward each other. Since you can already vote-kick anyone and lock a room, the vote-in gate was redundant friction. tryJoinExistingRoom now adds the joiner directly; locked rooms are still excluded from the joinable set, so a locked room stays private. Removed end to end: the join-request/vote server logic, the JOIN_REQUEST/REQUESTING/VOTE/CANCELLED events, the vote modal and 'join failed' toast, and the join:requesting status — about 220 lines net. The joiner-initiates WebRTC wiring (JOIN_APPROVED) is unchanged, so connection reliability for late joiners is the same.

WebRTC Renegotiation + TURN Cred Refresh; Group-Mute Retired

May 13, 2026

  • onnegotiationneeded is now wired on every peer connection — the gap the 5/9 troubleshooting note left explicitly open. Track changes on an already-established PC now renegotiate instead of silently going nowhere. The concrete win: when the camera recovers from audio-only fallback, the recovered video track is pushed straight into every live peer connection (replaceTrack if a video sender already exists, addTrack if the PC started audio-only) and the new handler sends the offer — partners see the recovered video immediately instead of waiting for the next match. Glare is handled with a per-partner makingOffer flag that onOffer checks alongside signalingState, so two simultaneous renegotiations resolve cleanly via perfect-negotiation rollback.
  • TURN credentials now refresh when the cache ages out. They were fetched exactly once per page load and reused forever — so a long-lived tab that kept skipping eventually built new peer connections and ICE restarts with expired Metered creds, and anyone behind a strict NAT silently failed to connect. The module cache now carries a timestamp with a 5-minute TTL matching the server-side /turn-credentials cache, concurrent callers are deduped onto one in-flight fetch, and a new ensureIceServers() runs before every PC-creating path (startCall, addPartner, onOffer). On a refetch failure it prefers the stale creds over dropping to STUN-only.
  • Added oniceconnectionstatechange as a backup failure trigger. Connection recovery hung entirely off connectionState 'failed'/'disconnected', but that event is unreliable on Firefox and older Safari — it can take 30s+ or never fire. iceConnectionState is the more portable signal; both now feed a shared handleDrop() that won't double-arm the disconnect watchdog when the two events report the same drop. The ICE-restart attempt budget already guards the overlap.
  • Group-mute button removed. The host's 'mute everyone' control is redundant now that each cam tile has its own volume slider — anyone can turn down a loud partner without a host action, and per-partner is finer-grained than all-or-nothing. Removed the full path: the ControlBar button, the useChat muteRoom callback + roomMuted state + ROOM_MUTED listener, the useChatSession mute effect, the ROOM_MUTE/ROOM_MUTED socket events, and the server room:mute handler. No orphan events left behind.

Landing Page Redesign — 3-Card Layout

May 10, 2026

  • Landing page restructured into the mockup's 3-column card layout. Left card 'Meet Our Community' merges the Day Ones strip with the embedded Leaderboard into one bordered panel. Right card 'Community Voices' carries the Dazed & Confused quote at the top with the 'Explore The Vibes' pill grid underneath. Center column is now logo → tagline → online count → big green Enter → outlined Become The Plug → a clean 4-up row of mode cards (Solo / Buddy / Group / Forum), with the Forum tile as a Link straight to /forum and the other three setting preferredMode before entering the age gate.
  • Removed from the landing flow: the StockTicker strip, the inline 'How It Works' arrow-icon teaser, the social-proof quote tiles, and the dense mobile-stack section that duplicated the desktop sidebars (each column now stacks vertically on small screens via the same grid). StockTicker import is gone from HomePage; the component itself stays around since /updates and /chat still use it. Added a plain text-link footer (Home / How It Works / FAQ / For Creators / The Plug / Terms / Privacy / Guidelines) underneath the existing cloud-shaped button row, plus a copyright line.
  • Subtle correctness fix in the age-gate handler. The previous code called setPreselectedVibe(null) before reading preselectedVibe in the if-branch and relied on the React closure still seeing the old value — worked by coincidence. New version captures the vibe into a local const v first, then clears state, then dispatches with v. Same observable behavior, no stale-closure dependency.
  • Net diff: 477 lines touched in app/HomePage.tsx (−299 / +177). No other files affected — HomePage is only imported by app/page.tsx, and StockTicker's two remaining call sites were checked. All four entry paths (Enter, Become The Plug, mode card, vibe pill) traced end-to-end through agegate → vibes → mode/chat and produce the same final routes as before the redesign.

Global Dead-Channel Pool + Standalone weed-vlog-tv Repo

May 9, 2026 — evening

  • IPTV dead-channel discovery is now pooled across all users. Previously each browser kept its own deadChannelsRef in RoomTV — so every viewer had to independently fail-walk through the same dead URLs, and the work never accumulated. New POST /iptv/report-dead endpoint flips the URL unhealthy in the same Supabase-backed health map the 6h server probe owns, then broadcasts iptv:channel:dead over Socket.io. Every connected client adds the URL to a shared globalDeadUrls set and skips it on chan-up / chan-down / scan / tune / guide without waiting on the 30-min /api/iptv cache TTL. RoomTV's three skip checks (no URL / locally observed dead / globally pooled dead) are now a single isDeadIndex helper. Pool persists across Railway redeploys via the existing iptv_health table; next probe re-verifies and self-heals if the failure was a transient client-side blip.
  • Standalone weed-vlog-tv Next.js site spun up at github.com/Miggy420/weed-vlog-tv (private). Reuses RoomTV + /api/iptv verbatim and points NEXT_PUBLIC_SERVER_URL at the existing Railway backend, so the new site shares the same dead-channel pool and health probe with TouchGrass — failures discovered in either app skip the channel in both. No new backend service.
  • Channel-sync GitHub Action (.github/workflows/sync-tv-channels.yml) mirrors app/api/iptv/channels.ts to weed-vlog-tv on every master push that touches the file. Uses a fine-grained PAT scoped to weed-vlog-tv only (Contents: write), stored as repo secret WEED_VLOG_TV_DEPLOY_TOKEN. TouchGrass remains the source of truth for the channel list; the standalone repo is a sync target.
  • Standalone repo audit caught one CORS gap: server/modules/ip-utils.js ALLOWED_ORIGINS didn't include the new weed-vlog-tv Vercel subdomain, so once the standalone deployed, the browser→Railway calls (POST /iptv/report-dead and the Socket.io iptv:channel:dead handshake) would have been rejected and failures wouldn't have propagated between the two apps. Added https://weed-vlog-tv.vercel.app to the allowlist (default subdomain — update if Vercel assigns a different one on first deploy). The viewer baseline still worked without this since /api/iptv fetches /iptv/health server-to-server (no CORS), so dead URLs would have surfaced via the 6h probe + cache refresh; what was missing was the live cross-app broadcast loop.
  • weed-vlog-tv shipped to Vercel at https://weed-vlog-tv.vercel.app — production domain matched the placeholder pre-added to ALLOWED_ORIGINS, no follow-up CORS edit needed. Standalone IPTV viewer is now live and sharing the dead-channel pool with TouchGrass: an HLS failure observed on either site flips the URL globally and broadcasts to the other within seconds. Standalone deploy reads NEXT_PUBLIC_SERVER_URL from Vercel env vars; first deploy from commit f92f84f.

Multi-Cam Disconnect Fix Pack + Audit Backlog Closeout + Next 16 Proxy Rename

May 9, 2026

  • Multi-cam room split fix. When any member left a 3+ room via separation (Skip / room:join / group:leave / re-clicking a mode button), endSession recorded the 10-min skip-cooldown only with currently-remaining partners — so two sequential leavers never got a cooldown between each other. The solo-sweep then happily re-paired them, which is exactly what produced the "4-room → two 2-rooms" symptom users reported (originals stay together, leavers form their own room). Fix propagates each leaver's IP into remaining sessions' departedPartnerIps and records cooldowns with previously-departed peers on every subsequent separation. Bounded by SKIP_COOLDOWN_MS so a long-lived churning multi-cam room doesn't accumulate forever.
  • Skip handler was stomping the local camera. handleSkip called webrtc.endCall() — full teardown that stops the local mic + camera tracks and nulls the stream — so on the next match addPartner had to re-acquire via getUserMedia, occasionally racing the device release and falling back to audio-only (visible as the blank You tile + "Audio only" badge users were reporting). resetConnections is the existing helper for exactly this case: closes peer connections but keeps the local stream alive across the re-match.
  • Camera auto-retry while in audio-only fallback. Once startLocalStream fell back (camera busy or temporarily denied), nothing in the codebase ever re-attempted video — the user was stuck on a blank tile until they reloaded. Now polls navigator.mediaDevices.getUserMedia for video every 15s while cameraUnavailable is true and splices the recovered track into the existing localStream once the camera frees up. Capped at 5 attempts so a hard-denied permission doesn't poll forever. Local self-view recovers immediately on success; partners see the new video on the next match (peer-side restoration would need an onnegotiationneeded path the codebase doesn't have yet).
  • Forming-room subsystem removed (~210 LoC across server + client). server/lib/group-rooms.js had joinOrCreateFormingRoom + tryStartFormingRoom + leaveFormingRoom + the formingRooms Map, and the client had GROUP_FORMING_JOINED / GROUP_MEMBER_JOINED / GROUP_SESSION_LIVE / GROUP_HOST_CHANGED / GROUP_FORMING_DISSOLVED listeners + formingRoom state + group_forming/group_live ChatStatus values — but no entry point ever called joinOrCreateFormingRoom, so socket.formingRoomId never got set and every downstream branch was unreachable. GROUP mode has been going straight through joinQueueMulti via the SESSION_MODE handler the whole time; the forming-room scaffold was vestigial.
  • /live-rooms city names actually populate now. The QUEUE_GEO handler had been writing geo onto a queueMulti entry that hadn't been populated in ages — so the forum's live-rooms list never got the location subtitle it was designed for. Pointed the geo write at the session itself (session.geo) and updated /live-rooms to read from there. Forum cards show "city, region" again when geolocation is granted. Took the queueMulti array out while we were here: zero writes anywhere, every reader was a no-op (findMatchMulti always returned null, sweep loops ran on empty, admin stats reported 0). Follow-on fix: the QUEUE_GEO emit only fired once on mount (before any session existed), so session.geo silently stayed empty — now re-emits on status changes too.
  • Locked rooms no longer silently unlock when the host disconnects. endSession unconditionally re-added the remaining-members key to upgradeableSessions, reversing the host's lock_room intent the moment they dropped. Now skips the re-add if any remaining session still has locked: true; the new host can re-open the room via /lock. Same fix applied to handlers/rooms.js room:join — joining a locked private room via code used to silently un-vote-lock the room.
  • Disconnect cleanup reordered. The handler ran streamCleanup.cleanupStreams before leaveCurrentContext — so a 1:1 peer of someone Instagram-streaming would get STREAM_TAKEOVER ("you're now the feeder") a few milliseconds before PARTNER_LEFT (the session being torn down). Causal order now: leaveCurrentContext first, stream handoff after.
  • approvedKicks leak closed. After a kick vote passed, the authorization entry sat in approvedKicks with a 60s TTL that was only checked lazily on the next access. If the target or initiator disconnected before kick_submit fired, and no further vote ever landed on that target, the entry stayed forever. Disconnect cleanup now drops them up front.
  • room:join radio/TV sync now reads from the live promoted host instead of the (potentially stale) hostSession captured before the host promotion. Same path also dropped a redundant flagCounts.delete in the disconnect handler — modCleanup.cleanupFlags() already deleted it.
  • middleware.ts → proxy.ts rename for Next 16 compatibility. Next 16 deprecated the middleware filename in favor of proxy.ts and the named export 'middleware' in favor of 'proxy'. Renamed file + function, updated doc references in CLAUDE.md and next.config.mjs. Behavior is unchanged: same geo-block, same CSP composition, same x-nonce header passed to the layout. Build confirms Next 16 picks it up as "ƒ Proxy (Middleware)" with no deprecation warning. Caveat: proxy runs on Node.js — the edge runtime is no longer supported in proxy. For our usage (header read + string composition) the runtime swap is invisible.