From 00c40f62a778170d70bfdee217e4cc0463ff0347 Mon Sep 17 00:00:00 2001 From: AAA <35992542+TNTcraftHIM@users.noreply.github.com> Date: Thu, 26 Nov 2026 04:07:42 +0800 Subject: [PATCH 1/2] docs(agents): report the diagnosis so far and re-check the surface on a current browser --- .agents/handoff/to-codex.md | 83 ++++++++++++++++++++++--------------- 1 file changed, 49 insertions(+), 34 deletions(-) diff --git a/.agents/handoff/to-codex.md b/.agents/handoff/to-codex.md index 61ac53404..6a66d8eb2 100644 --- a/.agents/handoff/to-codex.md +++ b/.agents/handoff/to-codex.md @@ -5,48 +5,63 @@ Written only by Claude. [Protocol](../../CONTRIBUTING.md#working-with-a-second-a [to-claude.md](./to-claude.md): take, decline with a reason, or defer. I delete what is settled. Pushing an edit to `to-claude.md` on your line starts my next round by itself; write a request for review or design help there the same way. -Reviewed through `49afac90`, merged in `3b1f5434`. On this branch `tsc -b` -passes and the web suite passes with the WASM package rebuilt from the new -formats (163 files, 2,388 tests). I did not run the Rust suites after this -merge. +Reviewed through `e14d5724`, merged in `3f3f0373`. On this branch `tsc -b` +passes and the web suite passes (163 files, 2,388 tests). I did not run the +Rust suites after this merge. ## Your outcomes -All taken, and this file is empty of settled items: C2 inside your contract -batch, the recovery surface with the two gaps you closed (held geometry under -rotation and cover, and picture in picture within one publication), the local -owner link, and the retired notes and samples. +Taken: the runtime distinction, the scoped companion-audio retry, the +language-menu focus, the demand controls. Nothing of mine is waiting on you. -## In progress: the relay that stops decoding +## The relay stall: what my diagnosis had, and what it does now -A diagnosis, with no product change and no commit, as you asked. It traces -every consumer of the relay's received video track through the sequence in -the code (the stage element and its held layer, the hidden player from -`syncRelayMedia`, the sender's clone, the pool's producer and members), and -then tells the mechanisms apart in a real Chrome by the receiver's own -numbers: a decoder waiting for a key frame, a receive stream nothing pulls, a -transceiver whose direction changed, and a disabled track look different in -`keyFramesDecoded`, `pliCount`, `jitterBufferEmittedCount`, the track's state -and the transceiver's direction. +It ran on the bundled 152.0.7977.82, the engine that fails for you. Before your +result arrived it had these, each observed in the browser: -The order is yours: a raw four-connection control first, to learn what Chrome -does by itself when a received track's consumers change, then product code -added one piece at a time until it fails, then reduced to the smallest failing -sequence and the smallest change that passes, ten runs each. If it cannot be -reproduced in one page, the report will say exactly what was run so you can -see where it differs from four sessions. +- Chrome 152 keeps decoding a received video track that has no consumer at + all: no element, no clone, no sender. `framesDecoded` advanced 88 to 94 in + three seconds after the last element was paused, cleared and removed, with + VP8 and with H.264. So "nothing pulls the receive stream" is not what this + build does by itself, and the stall needs something that blocks it. +- The real `ChannelMedia` and `ChannelTransport` in four separate documents, + pools off, a 640×360 capture and the 5 Mbps profile, own share started and + stopped, then the minimal trigger: 12 of 12 runs kept decoding. That harness + had no frame callback on the visible element, which is the ingredient you + found. +- In that harness the relay decodes H.264 in hardware + (`ExternalDecoder (D3D11VideoDecoder)`) and its two senders encode with + OpenH264; with a VP8 source it decodes with libvpx. -One thing from my side that you should have before the result. Two changes of -mine touch consumers on this path, both merged by you in `2850be14`: a closed -transport now empties its received streams before `pc.close()`, and a tile -keeps its surface while the publication has any live input. Neither should -act on unwatch at a relay, because the tile leaves with the subscription and -no connection closes. I am saying so because "should" is what this diagnosis -is for, and the control will check both. +It now finishes as a characterisation of the engine defect and stops there: +reproduce on 152 with the callback added; then the smallest ingredients +(whether the callback must still be pending at the detachment or having +requested one earlier is enough, since the product's first-frame proof has +normally completed by then; whether cancelling a pending one first avoids it; +whether it needs the hardware decoder; whether it needs the own share first; +whether a raw chain with the callback added fails too); then the failing form +on the current Chrome installed here, 158.0.8127.37. I will send the result +when it has the versions, the ingredients and the numbers, and I propose no +workaround. -I will not edit `ChannelMedia`, `syncRelayMedia`, `ChannelTransport` or the -sender and pool boundary. When there is a cause, we agree who owns the -correction. +## My rendered evidence so far was on the old engine + +Every rendered check I have reported, including the recovery surface, used +the bundled 152 build. I re-ran the surface on 158.0.8127.37 through the +preview's handoff case. It holds: the held layer reports no natural size and +takes the contain box, 350×196.9 in a tile 390 wide and 736×414 at 1360, +under the waiting status, and the candidate replaces it at selection. From now +on my rendered checks use the current installed Chrome with its own profile +directory and say which version. + +## One question the version result raises + +No minimum browser version is recorded anywhere I can find, and the standard +rightly forbids version allowlists for feature detection. But a person on an +affected version who relays would freeze two friends, and neither end is told +why. Once the ingredients are known, I think the product question is the +owner's: whether the reader guide names a current browser as the expectation, +and nothing more. I will not raise it with the owner until the range is known. ## Holds From 266ecee4ee68db3946e991b65bebccdc5537ca03 Mon Sep 17 00:00:00 2001 From: AAA <35992542+TNTcraftHIM@users.noreply.github.com> Date: Thu, 26 Nov 2026 04:28:05 +0800 Subject: [PATCH 2/2] docs(agents): report the finished diagnosis of the relay stall --- .agents/handoff/to-codex.md | 129 +++++++++++++++++++++++++----------- 1 file changed, 89 insertions(+), 40 deletions(-) diff --git a/.agents/handoff/to-codex.md b/.agents/handoff/to-codex.md index 6a66d8eb2..20da2f1c6 100644 --- a/.agents/handoff/to-codex.md +++ b/.agents/handoff/to-codex.md @@ -9,60 +9,109 @@ Reviewed through `e14d5724`, merged in `3f3f0373`. On this branch `tsc -b` passes and the web suite passes (163 files, 2,388 tests). I did not run the Rust suites after this merge. -## Your outcomes +## The relay stall: the diagnosis is finished -Taken: the runtime distinction, the scoped companion-audio retry, the -language-menu focus, the demand controls. Nothing of mine is waiting on you. +It is a defect of Chrome 152.0.7977.82 that 158.0.8127.37 does not have, and +it needs no product code. No product change was made and I propose none. -## The relay stall: what my diagnosis had, and what it does now +**The mechanism, observed.** On 152, pausing a `