Document accumulated interoperability findings and current source-backed design. Record build-specific visual results, matched acceleration policy, passing packaged behavior checks, and explicit native/ARM and strict visual acceptance limits. No complete 1:1 claim.
119 lines
7.9 KiB
Markdown
119 lines
7.9 KiB
Markdown
# Picture-first player refinement — 2026-10-24
|
||
|
||
## Artifact and scope
|
||
|
||
Unpublished Windows x64 directory build, unchanged version **0.1.4**:
|
||
|
||
`C:/Users/Admin/tmp/teamspeach-player-refine-20261024/build/win-unpacked/TeamsPeach.exe`
|
||
|
||
SHA-256: `b69f501716ed80ac2251aac475eebbcb3daaf36ebbb3e3d7e5f2c6e2463ada64`
|
||
|
||
Evidence root: `C:/Users/Admin/tmp/teamspeach-player-refine-20261024/`.
|
||
`build-provenance.json` records byte-for-byte agreement for all **50 application files** in the ASAR and
|
||
matching SHA-256 hashes for the packaged core, staged core and existing optimized release core. No Rust
|
||
source/build change, version bump or publication. The previous UI9 build path was not written or launched.
|
||
|
||
This report supersedes the old geometry acceptance in `ui10-20261024.md` item 8, not its unrelated feature
|
||
status. Whisper and macOS application-audio blockers remain unchanged; SFU remains unsupported.
|
||
|
||
## Root cause and cutover
|
||
|
||
The old 42% stage allocation, permanent 34px heading and approximately 70px footer consumed the picture's
|
||
height. A 220px minimum grid row did not ensure a width-filling 16:9 image. Prior checks accepted video
|
||
around 149–154px high because they checked overflow rather than reference proportions.
|
||
|
||
The player now uses an absolute overlay inside the picture: a small idle name, controls revealed on hover
|
||
or keyboard focus, and a real EN/RU details disclosure for statistics. The media uses `object-fit: contain`;
|
||
no crop or stretch. New profiles/reset use a 55% stage; existing saved ratios remain valid. The lower
|
||
collapse rail stays compact and the divider resizes the actual picture. Narrow multi-view now uses two
|
||
columns at the exercised 614px content width; narrower content falls back to aspect-aware stacked rows.
|
||
The broadcaster retains its separate local-preview toolbar; no new broadcaster runtime claim is made.
|
||
|
||
## Bounded visual review
|
||
|
||
One initial eight-case batch (`dev-stage/`), one correction batch in the packaged app (`final-stage/`).
|
||
Cases: one/two viewers at 1280×900 EN dark, 1100×900 RU dark, 1100×900 EN light, and 880×560 RU light.
|
||
The sidebar is explicitly resized through its own keyboard control to 260px, producing approximately
|
||
834px of workspace at the 1100px reference window. Real application styles are loaded unchanged.
|
||
|
||
Initial narrow two-view rendering still had only approximately 284px-wide contained pictures in 604px
|
||
rows. The single correction changed the responsive column breakpoint and removed a collapse-button
|
||
hitbox overflow that caused an unnecessary vertical scrollbar. No unrelated visual polish followed.
|
||
|
||
Final measured geometry (CSS pixels; dimensions are not decoder resolution):
|
||
|
||
| Case | Video element | Actual contained picture | Chat height |
|
||
|---|---:|---:|---:|
|
||
| One, 1280×900 | 1014×476 | 846×476 | 334.6 |
|
||
| One, 1100×900 | 834×476 | 834×469 | 334.6 |
|
||
| One, 880×560 | 614×289 | 514×289 | 181.6 |
|
||
| Two, 1280×900, each | 504×476 | 504×283.5 | 334.6 |
|
||
| Two, 1100×900, each | 414×476 | 414×232.9 | 334.6 |
|
||
| Two, 880×560, each | 304×289 | 304×171 | 181.6 |
|
||
|
||
Contained images preserve their source ratio, so some letterboxing remains, especially in two-view tall
|
||
stages. Narrow two-view images fill 100% of their tile width and 59.2% of the element area; this replaces
|
||
the former 46.8% width occupancy. The divider allows the user to choose the video/chat balance.
|
||
Single desktop stage scrollHeight and clientHeight both equal 495: no unnecessary scrollbar.
|
||
|
||
Useful captures under `final-stage/`:
|
||
|
||
- `1-player-ru-dark-1100x900-idle.png` — reference-width minimal idle presentation.
|
||
- `1-player-en-dark-1280x900-hover.png` — over-picture controls.
|
||
- `1-player-en-light-1100x900-idle.png` — light shell, unchanged media presentation.
|
||
- `2-player-ru-light-880x560-hover.png` — corrected compact two-view layout.
|
||
- `two-player-keyboard-focus.png`, `two-player-details.png` — real focus and disclosure states.
|
||
- `two-player-narrow-scrolled-controls.png` — second-player hit testing.
|
||
- `one-player-resized-1100x900.png` — larger video with usable chat and an available-share offer.
|
||
|
||
## Exercised checks
|
||
|
||
- Targeted Node: **42 passed**, zero failed/skipped (preferences, session/directory, splitters, i18n).
|
||
- Full Node: **187 total, 186 passed, one opt-in live-update test skipped, zero failures**.
|
||
Combined transcript: `artifact://1108`.
|
||
- Isolated `electron-builder --win --x64 --dir --publish never`: passed, `artifact://1110`.
|
||
- Packaged offscreen harness: **120/120 assertions passed**, zero renderer errors,
|
||
`final-stage/result.json`. Initial `dev-stage/result.json` remains preserved with its original failed
|
||
drag assertion: CDP movement initially omitted the held-button mask. The fixture, not production,
|
||
was corrected to send `buttons: 1` during the drag; final event evidence records down/move/up/capture loss.
|
||
- Final pointer drag: element height **399.3→494.3**, actual contained image **710×399→834×469**,
|
||
chat **334.6→239.6**. Keyboard shrinking/reset, collapse/restore and applying saved collapsed preferences
|
||
passed without resubscribing. Preference unit tests also preserve a stored 0.42 ratio across reload.
|
||
- Idle controls hidden, hover/focus reveal, Tab traversal, slider keyboard/input dispatch, mute and stop
|
||
pointer hit testing passed. Long titles ellipsize; stats are closed by default, actual summary opens them,
|
||
Escape closes them. PiP was deliberately unavailable and correctly named/disabled. Status overlays are
|
||
pointer-transparent. All player controls have accessible names.
|
||
- Both viewers retained their exact video elements and MediaStreams across locale/theme/window changes,
|
||
with advancing decoded frames and inbound silent-audio packets. Exactly two joins; stopping the second
|
||
left the first live with the original element/media. Final surviving sample: VP8 **480×270**, 30 fps,
|
||
308 decoded frames, 523 inbound Opus packets. Canvas source is 1280×720, but the negotiated/decoded
|
||
resolution was 480×270; this is a layout/lifecycle test, not a quality or performance benchmark.
|
||
- Detector ran once: three warnings, the existing audio-meter width transition (reported for CSS and
|
||
HTML) and the existing dynamically populated hidden banner image. No player-specific warning; no
|
||
unrelated meter/banner redesign. The initial context launcher failed due to shell path quoting;
|
||
existing PRODUCT/DESIGN context was read directly, and the separately quoted detector invocation worked.
|
||
|
||
Reproduce from the repository with the reusable focused harness:
|
||
|
||
```text
|
||
node scripts/smoke-stream-stage-offscreen.mjs --exe C:/Users/Admin/tmp/teamspeach-player-refine-20261024/build/win-unpacked/TeamsPeach.exe --out C:/Users/Admin/tmp/teamspeach-player-refine-20261024/final-stage
|
||
```
|
||
|
||
## Safety and evidence limits
|
||
|
||
All launches used `scripts/lib/electron-app.mjs`, with its packaged-main byte-equality safeguard and a
|
||
separate disposable profile. Runtime verified `visible:false`, `focusable:false`, `offscreen:true`,
|
||
`audioMuted:true`. Hover, click, drag and Tab were CDP events inside that hidden webContents, never global
|
||
input or native window focus. The generated oscillator is zero-gain, connects only to a MediaStream
|
||
sink, and webContents is additionally muted. Zero `getUserMedia`/`getDisplayMedia` and zero native
|
||
fullscreen/PiP requests. No physical display capture, clipboard, account/profile modification, active
|
||
user stream, server connection or audible playback was used.
|
||
|
||
Generated local WebRTC is not new TeamSpeak-server interoperability evidence. Silent audio packet
|
||
advancement does not establish audible fidelity. The fixture disables native PiP explicitly; it does not
|
||
claim the platform lacks PiP. Native fullscreen/PiP behavior, topmost windows, OS input and physical touch
|
||
were not tested. The earlier native Windows proof remains historical in the feature matrix and was not
|
||
repeated. Runtime preference reapplication plus Node disk persistence was tested, not a restarted
|
||
receiver session. Extreme pane widths below the exercised 614px content width are implementation-only
|
||
coverage here, not a new screenshot claim.
|