Skip to content

build, guidelines: libdatachannel's threading refusal and webrtc's revised summary - #15

Merged
pinhopro merged 2 commits into
mainfrom
webrtc/guidelines-refresh
Nov 14, 2026
Merged

pinhopro merged 2 commits into
mainfrom
webrtc/guidelines-refresh

Conversation

@pinhopro

Copy link
Copy Markdown
Contributor

Summary

Two follow-ups of the webcpp::webrtc proposal's revision (webcpporg/proposals#12).

  • build: the refusal of threading=single by /webcpp/third_party//libdatachannel said "Trystero's native backend uses worker threads", which misleads any other consumer. It now says that libdatachannel runs worker threads of its own. tools/test/libdatachannel_test.py checks the new text and that it no longer names Trystero (seen failing on the old text first). AGENTS.md's prerequisite says the same, and doc/releases/0.1.0.adoc records the change under "Tools and build".
  • guidelines: chapter 18's summary of webrtc follows the revised design.md: the owner's decisions of 2026-11-14 (a library of its own on webcpp::asio, libdatachannel's MPL-2.0 accepted, libdatachannel's C API natively so that the library works with exceptions on and off), the corrected WASI reason, the pinned libdatachannel, the browser patterns taken from webcpp::beast, the measured stall of a native channel never read, and open questions O1 to O3. What the decisions closed is removed.

Checks run locally

  • python3 tools/test/libdatachannel_test.py: all 6 cases ok, the full provider build included.
  • python3 tools/release/changelog_test.py: ok; tools/release/changelog.py reports no finding in doc/releases/0.1.0.adoc.
  • Not run: the whole-tree lint and the other tools tests, which these files do not feed.

🤖 Generated with Claude Code

R added 2 commits November 14, 2026 13:40
The refusal of threading=single by /webcpp/third_party//libdatachannel
said that Trystero's native backend uses worker threads, which misleads
any other consumer, webcpp::webrtc first. It now says that libdatachannel
runs worker threads of its own, the reason that holds for every consumer;
the tools test checks the new text and that it no longer names Trystero.
AGENTS.md's prerequisite says the same, and the release notes record it.
The proposal was revised on 2026-11-14 (webcpporg/proposals#12): the
owner kept webcpp::webrtc a library of its own on webcpp::asio, accepted
libdatachannel's MPL-2.0, and chose libdatachannel's C API natively so
that the library works with exceptions on and off. The summary drops what
no longer holds (the Boost.Asio reason for WASI, libdatachannel found
through LIBDATACHANNEL_ROOT, the native backend only with exceptions, the
questions those decisions closed) and adds the browser patterns taken
from webcpp::beast and the measured stall of a native channel never read.
@pinhopro
pinhopro merged commit 406fbb0 into main Nov 14, 2026
100 of 161 checks passed
pinhopro pushed a commit to webcpporg/proposals that referenced this pull request Nov 14, 2026
webcpporg/webcpp#15 brought chapter 18's summary of webrtc up to date
and worded the libdatachannel target's refusal of threading=single for
every consumer, and webcpporg/webcpp#16 marks webrtc proposed there.
reference/STATUS.md no longer lists them as remaining, and task 1.13 in
tasks.md and plan.md keeps only the superproject's work still to do.
@pinhopro
pinhopro deleted the webrtc/guidelines-refresh branch November 17, 2026 04:05
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.

1 participant