diff options
| author | Christophe Besson <cbesson@gmail.com> | 2026-09-17 14:44:57 +0200 |
|---|---|---|
| committer | Christophe Besson <cbesson@gmail.com> | 2026-09-17 14:44:57 +0200 |
| commit | 30980ba0994d3e99d41c5252555320d6cbb1f5a9 (patch) | |
| tree | e23cfcc4c4eb53a2cc95359654835627495a5811 /packages/meshbay-node/src/meshbay_node/platform.py | |
| parent | 4134729543139f4934c4ec4e4c6a2cda0606bcdf (diff) | |
| download | meshbay-30980ba0994d3e99d41c5252555320d6cbb1f5a9.tar.gz | |
fix(hub): sample activeCues, the number that decides whether a subtitle shows
Attach-time state — one track, showing, cues parsed — was all correct while
nothing appeared on screen, so it was measuring the wrong thing. A re-render
can replace the <track> and reset a mode nothing sets again, and a cue list
that does not cover the playhead looks identical to one that does.
The probe samples activeCues for ten seconds alongside the playhead, the mode,
and the cue that ought to be on screen at that instant, so "no cue is active"
and "a cue is active and is not painted" stop being the same observation.
Verified beforehand that the mechanism itself is sound: a real Chrome driven
over CDP, fed through MediaSource with timestampOffset 2690 and given a track
appended after playback started, reports activeCues 1 on the cue bracketing
the playhead.
Co-Authored-By: Claude Opus 5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01UGY17EPph5LsLzePPXhUVc
Diffstat (limited to 'packages/meshbay-node/src/meshbay_node/platform.py')
0 files changed, 0 insertions, 0 deletions