Skip to content

examples: remove streaming + native player from the DHT channels demo#25

Merged
SethMorrowSoftware merged 1 commit into
mainfrom
claude/relaxed-cerf-816pyn
Jun 28, 2026
Merged

examples: remove streaming + native player from the DHT channels demo#25
SethMorrowSoftware merged 1 commit into
mainfrom
claude/relaxed-cerf-816pyn

Conversation

@SethMorrowSoftware

Copy link
Copy Markdown
Owner

The native OXT player playback in the channels demo did not work in practice and is unlikely to, so this removes the whole streaming feature rather than ship a button that does nothing useful. The two-column 720p layout (which looked good) is preserved.

What's removed

  • The player overlay (chPlayer / chStreamBar / chCloseStream) and the Stream Selected button from chBuild.
  • Handlers chStreamSelected, chOpenPlayer, chCloseStream, chMediaKind, chMainMediaFile; the sHasPlayer state; the mouseUp cases; the tooltips; and the streaming lines in the header doc + in-app help.

What stays

  • The selected-transfer file detail panel (btFileList: name, size, live per-file progress bar) — it works and is the reason to click a transfer.
  • Everything else: signed DHT channel feeds, peer-to-peer download, color-coded transfers table with inline progress bars, quick-drop.

Layout

With the Stream button gone, the file-detail caption goes full-width and the file list grows into the reclaimed space (chFiles now …342…470), keeping the right column clean and balanced against the left. No control overlaps; still fits 720p.

Verification

  • Examples only — no shim/ABI change.
  • tools/check-livecodescript.py: 5 files OK.
  • Net −162 lines. Verified statically; wants an OXT pass to confirm the look.

🤖 Generated with Claude Code

https://claude.ai/code/session_01371AXB4CUUke7enHHS8okc


Generated by Claude Code

The native OXT player playback did not work in practice and is unlikely to,
so remove the whole streaming feature rather than ship a broken button:

- Drop the player overlay (chPlayer / chStreamBar / chCloseStream) and the
  "Stream Selected" button from chBuild.
- Remove chStreamSelected, chOpenPlayer, chCloseStream, chMediaKind, and
  chMainMediaFile, the sHasPlayer state, the mouseUp cases, the tooltips, and
  the streaming lines in the header doc + in-app help.

The file-detail panel (btFileList: name, size, live per-file progress bar)
stays - it works and is the point of clicking a transfer. With the Stream
button gone, its caption goes full-width and the file list grows into the
reclaimed space, keeping the two-column 720p layout clean and balanced.

Examples only - no shim/ABI change. Verified statically
(tools/check-livecodescript.py: 5 files OK); needs an OXT pass for the look.

Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01371AXB4CUUke7enHHS8okc
@SethMorrowSoftware SethMorrowSoftware marked this pull request as ready for review June 28, 2026 00:53
@SethMorrowSoftware SethMorrowSoftware merged commit 9e220bb into main Jun 28, 2026
7 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants