Repository navigation
webrtc: bring the draft up to date, with its plan and increment 1's code - #12
Merged
Merged
Conversation
The design records the owner's decisions of 2026-11-14: webcpp::webrtc stays a library of its own on webcpp::asio, not a part of webcpp::beast; libdatachannel's MPL-2.0 is accepted for it; and the native backend calls libdatachannel's C API only, so the library works with exceptions on and off on both targets. It corrects what was stale: webcpp::asio is implementing and its bridge exists, Boost.Asio runs on WASIp2 and WASIp3 (the WASI #error stays, with the reason that still holds), and libdatachannel 0.24.6 is pinned and built from third_party. It aligns the browser design with webcpp::beast's browser WebSocket as built, and maps trystero's backend at e9326e9, shared connection and early native frames included. reference/plan.md holds the three increments. reference/source/ holds increment 1, the interface and the native implementation, whose 25 test targets pass from scratch against the pinned libdatachannel, as the build asks, without exceptions and under ThreadSanitizer. A measurement found that a native channel never read stalls its connection's other channels; the design and a test record it.
Move webcpp::webrtc's genesis from draft to proposed (tasks.md 0.8): the metadata, proposal.md's status, reference/STATUS.md and the README's table. design.md's rollback now archives a withdrawn or rejected proposal, as CONTRIBUTING.md says, instead of deleting it.
pinhopro
pushed a commit
to webcpporg/webcpp
that referenced
this pull request
Nov 14, 2026
The owner accepted webcpp::webrtc's genesis on 2026-11-14 (webcpporg/proposals#12), so its summary moves from chapter 18 to chapter 17 as accepted and not built: the library "will be", and the summary says that its repository is still to be created from the reference code. Chapter 18's introduction keeps its wording for drafts and proposals under discussion alike.
This was referenced Nov 14, 2026
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
Brings the webcpp::webrtc genesis (
libraries/webrtc/openspec/changes/genesis/) from the stale draft of 2026-10-13 up to date, and proposes it: its status isproposed(task 0.8), for its public discussion here and the maintainers' decision. Its implementation will live in https://github.com/webcpporg/webrtc, a repository the owner creates once the proposal is accepted.implementingand its browser bridge exists; Boost.Asio runs on WASIp2/P3 (the#errorunder WASI stays, with the reason that still holds); libdatachannel 0.24.6 is pinned at6b1e2e6and built fromthird_party/.backendis mapped ate9326e9, shared connection and early native frames included.reference/plan.md, the three increments.reference/source/, increment 1: the interface and the native implementation over libdatachannel's C API, with its tests.reference/spec.md(2026-10-10) is kept as written; design.md lists what changed since.proposedin.openspec.yaml,proposal.md,reference/STATUS.mdand the README's table; design.md's rollback archives a withdrawn or rejected proposal, asCONTRIBUTING.mdsays, instead of deleting it.Evidence (2026-11-14,
reference/STATUS.md)eb08198with its pinned libdatachannel and OpenSSL: 25 test targets pass from scratch (b2 -a), as the build asks and withexception-handling=off; the lifetime test passes 100 rounds under ThreadSanitizer with no report.openspec validate --all --strict --no-interactive(1.10.0) inlibraries/webrtc,python3 tools/proposals.py readme,checkandpython3 tools/proposals_test.pypass.Not in this change
webcpporg/webrtc), then increments 2 and 3.CODING-GUIDELINES.mdchapter 18 still summarizes the old draft, and the libdatachannel B2 target's threading message names trystero only: both are superproject changes.🤖 Generated with Claude Code