Repository navigation
Conference: per-viewer video rungs (relay re-encode) and Opus mics - #821
Merged
Merged
Conversation
The relay applied and forwarded whatever a client sent: another
participant's intent, the server holon's poses, the scene, mutations or
media naming another origin, even a snapshot pushed at it.
state_inbound_gate (cvc/state), installed with
state_transport::set_inbound_gate on gRPC and WS, governs what a
transport takes from the connections it accepts. Dialed connections,
the bridge and the relay's own writes are not gated.
- Identity: a connection speaks only as the node id of its first Hello.
One live connection holds a node id at a time. The first claim wins
until it closes, or until it has been silent for 6 s (three missed
link probes), when the next claim takes it over: a dropped network
leaves the old stream open. The relay's own ids (its transport's and
its shards') are never a client's.
- Origin: mutations, messages and media must name that id, and gRPC
heartbeats must name it as their node. A client's SnapshotResponse is
never applied, and a snapshot request is answered only for a
connection speaking as itself.
- Departure: a close is that peer leaving only when the connection
still held its id.
- Refused frames are not applied, forwarded or bridged; they are counted
in total_inbound_rejected().
room_write_gate is the room's rule:
- a participant writes only inside conf.rooms.<room>.participants.<pid>,
with value, touch or data ops;
- never the relay's keys there: pose, net.relay, and streams.<kind>.ready;
- only on canonical paths of at most 16 segments and 512 bytes (no empty
or padded segment, which the tree would trim onto another key);
- and only for a pid that is one identifier.
Every client write today fits this rule.
arisrv --bind-writes on|off (default on; not an S7 switch) installs one
gate on both transports, and logs refusals as their count grows. The
bench mirrors it. The gate's holder map is file-local, so cvc.dll grows
only 71 names (65,198 of 65,535).
Tests:
- InboundGate{TakesOnlyWhatAPeerMayWriteAsItself, BindsANodeIdTo*,
RefusesTheRelaysOwnId, HandsASilentHoldersIdOver} for gRPC and WS, and
InboundGateSpansBothTransports;
- RoomWriteGate.* (the rule, binding, takeover);
- RoomRelayLoopbackTest.ClientWritesOnlyItsOwnParticipant: what the
relay applies from a client that writes A's intent and pose, its own
pose by normalising paths, the scene and the AOI, and A's intent as A.
Mutants without the relay-id or canonical-path checks fail these.
- NoIntentOrUiDocsLeak now expects the echo refused by the write gate,
and ControlPlaneEgressDrops's pre-S7 baseline turns bound writes off.
Two credentials a peer can carry before there are accounts. Room token -- who may join: - arisrv takes it from --room-token-file PATH or CVC_ARISRV_ROOM_TOKEN, never from the command line. A token asked for must be a valid one: a flag with no path, an unreadable or blank file, or a set but empty variable is an error, not an open room. - gRPC carries it as authorization: Bearer, now compared in constant time and counted in total_auth_rejected(). - WebSocket gains auth_config. A browser cannot set an Authorization header, so the client offers "cvc.v1,cvc-token.<token>" in Sec-WebSocket-Protocol. The server reads the upgrade request itself, refuses it with HTTP 401 unless the token is offered, and answers cvc.v1 (a browser requires the reply to name an offered subprotocol). - Both checks run before admission, so a client without the token is sent nothing. - arigl reads CVC_ARIADNE_ROOM_TOKEN. The browser page takes it from the invite link's URL fragment (#token=...), which never reaches a server or its logs. - With no token configured the room is open, as before. Each accepted WebSocket connection now does its handshake on its own thread (10 s deadline, at most 64 at once). One client that connected and sent nothing used to hold up every join, and stop(). Device id -- which device is this: - Hello gains device_id (field 3), set with state_transport::set_device_id(). - default_device_id() is a salted SHA-256 of the OS machine id, the host name and the user. Under Emscripten it is "" unless CVC_DEVICE_ID is set; the page keeps a random id in localStorage, per page load where storage is blocked. - A client sends scoped_device_id(base, relay URL), so two relays cannot match one device. A relay ignores an id that is not valid_device_id (1-64 of [A-Za-z0-9._-]). - Link reports carry remote_device_id and holds_id. - arisrv publishes participants.<pid>.device, a room-scoped 16-hex tag, from the link holding the pid (room_net write_link_devices). room_write_gate refuses a client's write to it. - It is an identifier, not a credential: giving it authority needs a key the device keeps and the relay pins.
The per-connection handshake stamps handshake_started_ns in accept_loop, above steady_ns's definition: native builds with WebSocket failed to compile (the wasm build skips accept_loop).
…t use (§5f) The device id names a device; this gives it authority. Keys (state_device_key.h, on OpenSSL's libcrypto): - A device keeps one 32-byte seed: %LOCALAPPDATA%\cvc\device-key, or $XDG_CONFIG_HOME/cvc/device-key (~/.config/cvc/device-key), made on first use, owner-only on POSIX, and published in one step so two first launches agree on one seed. CVC_DEVICE_KEY_FILE names another file; CVC_DEVICE_KEY (64 hex) gives the seed itself, which is how the browser page passes the one it keeps in localStorage. - For each relay it derives an Ed25519 key, HMAC-SHA256 of the seed and the relay URL, so two relays see unrelated keys. The proof: - A relay with a pin store puts a fresh 32-byte nonce in its Hello to each connection it accepts (Hello.nonce, field 4). - The client answers with a DeviceProof (Frame field 12): its public key and a signature over the nonce, both node ids and its device id, each length-prefixed. One proof per challenge. A proof that arrives before the client's own Hello is held and checked when it comes. - The relay verifies it and pins the key to the device id on first use (state_device_pins). A later proof under the pinned key verifies the link (state_link_report::device_verified); another key, or a bad signature, is refused and counted. A refused device stays in the room, without a tag. A store holds at most 65,536 pins. The room: - participants.<pid>.device is written only for a verified link that holds the pid, and cleared when the pid's holder proved no key, so a takeover does not keep the last device's tag. - arisrv keeps one pin store for both transports, in memory or in a file with --device-pins PATH, and logs refused proofs. - arigl loads the seed and signs for its relay; the page keeps the seed in localStorage (cvc.device_key) beside its device id. Without OpenSSL nothing is derived or verified, and no device has a tag.
Bound writes (#807) is now squashed into feat/h1-admission; merged with its head as the base, so only this branch's own changes apply. The tree is unchanged.
…trols that follow the person The Users window's volume slider sat in an auto-width table column. ImGui re-fits such a column to its content every frame, and a slider in a cell took ~65% of it (ImGui's default item width), so the column shrank by a third each frame until reserve_label_width's 48 px floor snapped it back: the bar never held a width long enough to be dragged. The six fixed columns also already filled the 420 px window, which clipped the slider to a sliver. - ImGuiBackend: a slider or int widget in a table cell now fills its cell, so an auto-width column settles at once (cvcgl_imgui_grid_slider: without this the column ends at 13 px, oscillating). - conference_roster.ari: every roster column has a fixed width (vol 72 px), the window is 470 px, and the peer camera tiles move right with it. Each row's two name texts (plain and talking-green) are one group, so the cell exists on a frame where neither visibility check runs and the row no longer shifts left. - Per-peer cam, mic and volume were keyed by roster ROW, and rows are sorted by pid, so a join or leave moved your settings onto someone else. on_tick now parks each row's controls under its pid (ctl.<pid>.*) before the rebuild and gives each row its own pid's back.
…t use (§5f) (#816) The device id names a device; this gives it authority. Keys (state_device_key.h, on OpenSSL's libcrypto): - A device keeps one 32-byte seed: %LOCALAPPDATA%\cvc\device-key, or $XDG_CONFIG_HOME/cvc/device-key (~/.config/cvc/device-key), made on first use, owner-only on POSIX, and published in one step so two first launches agree on one seed. CVC_DEVICE_KEY_FILE names another file; CVC_DEVICE_KEY (64 hex) gives the seed itself, which is how the browser page passes the one it keeps in localStorage. - For each relay it derives an Ed25519 key, HMAC-SHA256 of the seed and the relay URL, so two relays see unrelated keys. The proof: - A relay with a pin store puts a fresh 32-byte nonce in its Hello to each connection it accepts (Hello.nonce, field 4). - The client answers with a DeviceProof (Frame field 12): its public key and a signature over the nonce, both node ids and its device id, each length-prefixed. One proof per challenge. A proof that arrives before the client's own Hello is held and checked when it comes. - The relay verifies it and pins the key to the device id on first use (state_device_pins). A later proof under the pinned key verifies the link (state_link_report::device_verified); another key, or a bad signature, is refused and counted. A refused device stays in the room, without a tag. A store holds at most 65,536 pins. The room: - participants.<pid>.device is written only for a verified link that holds the pid, and cleared when the pid's holder proved no key, so a takeover does not keep the last device's tag. - arisrv keeps one pin store for both transports, in memory or in a file with --device-pins PATH, and logs refused proofs. - arigl loads the seed and signs for its relay; the page keeps the seed in localStorage (cvc.device_key) beside its device id. Without OpenSSL nothing is derived or verified, and no device has a tag.
Other people's view of a walking avatar was smooth, but the walker's own view jumped. arigl
predicts its avatar locally and replays its inputs on each server pose, so it was the only viewer
that saw the reconcile path, and three things fed that prediction the wrong history:
- The relay's ~1 Hz WebSocket re-broadcast sent a client its OWN intent back. The relay forgets a
path when the client writes it, so the broadcast carried whatever the relay held; with the
client's next write still in flight, that was the previous intent. The client applied it and
predicted on it until the next key change or broadcast, while the server integrated the real one,
so every 20 Hz pose snapped it back and the replay pushed it on again.
- state_inbound_gate::sources (default false): whether a path is a peer's own. room_write_gate
answers with its write rule, and broadcast_snapshot never sends such a path to its source.
- arigl takes a tree intent only when it is not older than its last proposal
(holon_sync read_current_intent; propose_intent now returns its stamp). A stamp of 0, the
document's room-set-intent, is always taken.
- A clock realign wiped the input log. arigl moves its lead with the measured round trip, and any
rise of ~50 ms seeked the clock and dropped the logged inputs, so the next pose snapped the
avatar back by a round trip of walking. Within max_skew_ticks the client now slews its clock
(holon_config::lead_slew, 5%) toward the target instead; the first alignment, joining, still
seeks.
- The local avatar was drawn at its last whole 120 Hz quantum, so frames between quanta stood still
and the rigidly following camera passed that judder to the whole view. display_pose now
interpolates it between its last two quanta by the frame's alpha, as peers already are, and a
reconcile shifts that interpolation with its correction.
Tests: RoomRelayLoopbackTest.ABroadcastNeverEchoesAClientsOwnIntent (the echo, end to end over WS;
fails without the broadcast skip), HolonTest.ALongerLeadIsSlewedIntoWithoutACorrection (a lead step
mid-walk: no correction slewing, one seeking), ClientSlewsTowardANewLead,
TheLocalAvatarIsShownBetweenQuanta, HolonSyncTest.ReadCurrentIntentRefusesAnEchoOfAnEarlierProposal
and RoomWriteGate.AParticipantSourcesWhatItWrites. Each fails with its fix removed.
…taken holon::display_pose now shows the local avatar between its last two quanta by the frame's alpha, so a turn taken on one quantum is drawn on the next. The visor check advances two quanta instead of one.
…ds instead of queueing What each participant cost (the user's question; a 4-person room, every pair in view): - Camera: 640x480 MJPEG at q70 and 30 fps, about 4-5 Mbit/s per receiver (17-22 KB a frame for a detailed scene with webcam-like noise), shown in ~300 px tiles. - Mic: raw 32-bit float PCM at 48 kHz, 1.5 Mbit/s, sent even when muted or silent. - So about 7.6 Mbit/s up and 23 Mbit/s down per client, and the link probe queued behind it. Changes: - The camera is captured at 320x240, 15 fps and q60: about 0.6 Mbit/s per receiver, ~8x less, for the same tiles. stream-capture-camera gains a `quality` option (1-100, default 70); it was always q70. - arigl sends no mic chunk below -48 dBFS RMS more than 0.8 s after a louder one, so a silent or muted mic costs nothing (receivers already mix silence for a peer with no chunks, and its video runs free). A muted camera sends one frame a second instead of 15. - A browser's send backlog is now WebSocket.bufferedAmount (it was always 0 there), so its uplink drops media at the 32 KB threshold instead of queueing it without bound behind every other frame, the link probe included. - On every WebSocket link audio gets four times video's backlog allowance: a congested link sheds video first. The roadmap records the new defaults (and the re-broadcast's no-echo rule from the movement fix). Opus audio and per-receiver rungs are next.
Device keys (#816) is now squashed into feat/h1-room-token; merged with its head as the base, so only this branch's own changes apply. The tree is unchanged.
…wer's link The user asked for per-viewer control of resolution and bitrate, adapted when a viewer's link degrades, and asked whether senders must send several sizes. They need not: MJPEG frames stand alone, so the relay makes the smaller sizes itself. Rungs (cvc::media_rung_shaper, media_rungs.h): - full (as sent), half and quarter (decoded at 1/2 or 1/4 size by libjpeg-turbo's DCT scaling and re-encoded), thumb (quarter at 2 fps) and off (no video; audio still flows). - A variant is made once per frame and rung and shared by every viewer on it, across transports. Publishers upload one stream; old clients need no change. - media_endpoint gains set_media_shaper, asked per receiver after the gate (the frame as sent, a variant, or nothing); the WS and gRPC fans encode each variant once per frame. - cvc links libjpeg-turbo when the prefix has it (CVC_HAVE_TURBOJPEG); without it the smaller rungs send frames as is. Adaptation (room_rung_controller, room_rungs.h), once a second over the link reports: - per viewer, queueing (round trip above its minimum), the share of media frames dropped for it (new per-link media_sent / media_dropped counters) and what it was sent; - down one rung after two bad seconds (queueing > 150 ms, > 5% dropped, or over budget), up one after ten good ones; a step up that fails early doubles the next wait (to 60 s). - arisrv: --adapt on|off, --video-max RUNG, --video-floor RUNG, --viewer-kbps-max N; it logs each change and writes the rung to participants.<pid>.net.relay.video (relay-owned). Camera off is a flag, not frames: a client whose camera is off sends no frames and publishes participants.<pid>.video.off; viewers show "camera off" instead of the last frame they got. The roster shows each person's rung as a dot before their name (green full, red reduced, black none; hover for which) and "video in: ..." in My Camera. The dot is a new status_dot widget drawn with ImGui's draw list, as the web build's font has no circle glyph. Tests: MediaRungs.* (downscale sizes, shared variants, thumb pacing, audio untouched), RoomRungs.* (down on queueing and drops, slow and wary up, the server's bounds), the WS shaper per receiver, and RoomRelayLoopbackTest.AViewersVideoRungShapesWhatItGets on each transport.
…61 names) (#793) cvc.dll's export table came from WINDOWS_EXPORT_ALL_SYMBOLS, which exports every external symbol in cvc's objects, and a PE export table holds at most 65,535 names. The gRPC build of master exported 63,073 and S7 (#789) 65,122; that limit is why the WebSocket transport stays off on Windows. 44,412 of master's names were in namespace std: the members of std::vector<cvc::...>, std::_Tree<...> and std::function's _Func_impl for cvc's lambdas, the STL's inline functions, std RTTI. No consumer imports them. Each is an implicit instantiation or an inline function that the consumer compiles from the same header, and the linker resolves it from the consumer's own objects: of the 2,194 names S7's 286 binaries import from cvc.dll, none is in std. Under MSVC, cvc_msvc_export_def (CMake/CvcMsvcExportDef.cmake) now builds the table as a pre-link step. `cmake -E __create_def` over $<TARGET_OBJECTS:cvc> writes the same file WINDOWS_EXPORT_ALL_SYMBOLS did, byte for byte. cvc_def_filter, a small host tool on dbghelp's UnDecorateSymbolName, then leaves out every symbol whose undecorated name is in namespace std, and cvc.dll links with /DEF: on the result. cvc_igl and cvc_physics_jolt are still private static archives that are not scanned. Cross-compiles, CMake older than 3.18 and MinGW keep WINDOWS_EXPORT_ALL_SYMBOLS. The gRPC RelWithDebInfo build of master now exports 18,661 names, and cvc.dll shrinks from 56.7 MB to 42.0 MB. S7's export list through the same filter is 18,946, and a CVC_ENABLE_WS=ON + libigl build, which could not link before (66,726 names), exports 21,861. The cvc_igl_packaging test also checks that the generated table names no igl:: or Eigen:: symbol. (cherry picked from commit 1d0c87f)
- jpeg_downscale refuses a JPEG over 4096 x 4096 before allocating for it:
a frame's header names its own size, and one claiming 65535 x 65535 from
any client would have the relay allocate gigabytes on a reader thread.
- A TurboJPEG handle a call failed on is replaced. A decompressor stopped
partway through a bad header refuses every image after it ("two SOI
markers"), so one malformed frame ended downscaling on that reader thread
for good. The thread-local handles are now also destroyed at thread exit.
- write_media holds each variant's shared_ptr for the whole fan (WS and
gRPC). Matched by address, a variant freed mid-fan could hand its address
to another and a later receiver would get the wrong encoding.
- An unidentified receiver is shaped too, as "" (no rung: full).
- The thumb rung admits a frame a quarter of its interval early: the AOI
tier may already pace that camera at the same 2 fps on its own schedule,
and those frames arrive with a frame period of jitter, so a strict gap
halved them.
- arisrv's room-debug report adds the shaper's totals.
Tests: the downscale test sends an oversized header and then a good frame
(which failed before the handle fix); the thumb test covers the early
frame; OnlyAViewersHoldingLinkCounts now checks a returning viewer starts
over at the best rung (it checked nothing); the WS shaper test claims only
what it checks, and asserts a shaped-out frame is not a link drop (the
controller would read its own off rung as congestion).
A mic sent as raw f32 at 48 kHz is 1.5 Mbit/s, the largest stream after video. cvc::opus_encoder / opus_decoder (media_opus.h, over libopus) carry it as Opus at 32 kbit/s: the sender re-chunks the mic's 1024-frame chunks into 20 ms (960-frame) packets, one media_frame each (codec "opus", a seq per packet so a gap is a lost packet), and a new talk spurt resets the encoder. A receiver decodes each peer with its own decoder (Opus is stateful), conceals up to two lost packets, and cuts the result into mixer-sized chunks: the mixer sums one chunk per peer, and a 960-frame packet in a 1024-frame mix would drift and click. A gap of over 0.4 s ends a peer's talk spurt; a shorter delivery hitch keeps its samples. The relay forwards a mic as sent, whatever its codec, and needs no libopus. A client without libopus sends f32, which every client plays; it cannot decode a peer's Opus, logs that once, and hears that peer as silence. Older clients are not provided for. libopus is optional. cvcpkg's autotools-built bundles ship no CMake config, so it is found by header and library and linked through a synthesised CvcOpus::opus, which cvcConfig.cmake recreates for a static consumer (as PkgConfig::ZSTD). Under MSVC the search takes only the import library (opus.lib, from cy-pca/cvcpkg#467, or libopus.dll.a): CMake would otherwise take MinGW's libopus.a for `opus`, and its ___chkstk_ms calls do not link. The libcvc recipe gains libopus on linux, macos and windows; wasm follows once #467 publishes its bundle.
…et or an em dash as ?) The browser build's ImGui font is ASCII-only, so My Camera read "camera: ? on" and a taken name "... is taken ? pick another". Plain "on" and a semicolon.
cy-pca/cvcpkg#467 published a static wasm libopus, so the single-threaded wasm libcvc gets Opus mics like the native ones. wasm-mt has no libopus bundle, and Emscripten will not link a non-pthread archive into a -pthread build, so it goes without (its mics stay f32).
#819 (feat/h1-conf-fixes) was squash-merged into feat/h1-room-token and that, as #809, into feat/h1-admission, which now also carries master. Merge base 555f326, the conf-fixes head this branch was built on (its tree is exactly #819's squash). The cherry-picked #793 export filter (5ec3f19) now matches master's own copy, so it merges away.
The Opus members inserted above it ended the aligned comment block, so master's changed-lines check wants the single space back.
transfix
changed the base branch from
feat/h1-conf-fixes
to
feat/h1-admission
October 25, 2026 19:09
transfix
added a commit
that referenced
this pull request
Oct 26, 2026
… field fixes, per-viewer video rungs and Opus mics (#796) The conference stack after #783, squashed through feat/h1-admission: - #796 admission hold: a late joiner's admit snapshot goes through its AOI filter (no other participant's intent, the outer peer by push). - #807 bound writes: a relay client writes only its own participant subtree, as itself. - #809 room token and a default device identity (section 5f); #816 device keys, TOFU-pinned by the relay. - #819 field fixes: a volume slider that holds still, a mover's own avatar that no longer jumps (the WS re-broadcast echoed its intent; the clock slews instead of seeking), and about 1/8 of the video bandwidth. - #821 per-viewer video rungs (the relay re-encodes each camera for each viewer's link: full / half / quarter / thumb / off, adapted from queueing, drops and budget), Opus mics (32 kbit/s instead of 1.5 Mbit/s), a camera-off flag, status dots, and libopus for the libcvc recipe (cvcpkg libopus cvc.8). - 05d0d60: the clock slews after any first sample, not only after a first seek (HolonTest.AClientInStepFromItsFirstSampleStillSlews), and two relay loopback tests bound wall-clock rates loosely enough for a Debug gRPC runner.
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.
Stacked on #819 (
feat/h1-conf-fixes). It answers two questions about the conference: what the server can do per viewer about resolution and bitrate, and what to do about audio.Per-viewer video rungs (
8b1ffdfc, review fixes586c51de)The relay sends each viewer every camera at a rung:
full(as sent),halforquarter(re-encoded smaller on the relay),thumb(quarter size at 2 fps), oroff. Each viewer's rung adapts to its link.cvc::media_rung_shaper(media_rungs.h) decodes the publisher's JPEG at 1/2 or 1/4 size, using libjpeg-turbo's DCT scaling, and re-encodes it once per frame and rung. Every viewer on that rung gets the same bytes. A publisher still uploads one stream.set_media_shaper, asked per receiver after the gate. The WebSocket and gRPC transports encode each variant once per fanned frame.room_rung_controller(room_rungs.h) reads each viewer's queueing delay, its share of media frames dropped (new per-linkmedia_sent/media_droppedcounters), and an optional budget.participants.<pid>.net.relay.video. The roster shows it as a status dot by each name: green for full, red for reduced, black for no video. There's a newstatus_dotwidget, because the wasm font has no "●". The tooltip names the rung.participants.<pid>.video.off. Viewers show "camera off".--adapt on|off,--video-max RUNG,--video-floor RUNG,--viewer-kbps-max N.write_mediaholds each variant'sshared_ptrfor the whole fan.Opus mics (
772633a3)A mic sent as f32 is 1.5 Mbit/s. As Opus it's 32 kbit/s (
cvc::opus_encoder/opus_decoder,media_opus.h, over libopus).seqper packet so a gap means a lost packet. A new talk spurt resets the encoder.CvcOpus::opus, whichcvcConfig.cmakerecreates for static consumers, as withPkgConfig::ZSTD.opus.lib(libopus: build wasm on a Windows host, ship opus.lib for MSVC (cvc.8) cy-pca/cvcpkg#467) orlibopus.dll.a. CMake would otherwise pick MinGW'slibopus.a, whose___chkstk_mscalls don't link.libopuson linux, macos, windows and wasm (libopus: build wasm on a Windows host, ship opus.lib for MSVC (cvc.8) cy-pca/cvcpkg#467, cvc.8).Also
2d72544d: the roster's "camera: ● on" and its "is taken — pick another" error drew "?" in the browser, whose ImGui font is ASCII-only. Both are now plain ASCII.ff0d0a06: the libcvc recipe'slibopusdependency now includeswasm, now that cvc.8 is published. wasm-mt goes without: there's no wasm-mt libopus, and Emscripten won't link a single-threaded archive into a-pthreadbuild.5ec3f19ais a cherry-pick of master's build(windows): cvc.dll stops exporting std:: symbols (63,073 -> 18,661 names) #793 (the cvc.dllstd::export filter). Without it the shared Windows build of this stack goes past the 65,535-export limit (LNK1189). It becomes a no-op once master reaches the stack.Verified (sandipaws)
media_rungs_test7/7, all three Opus tests running;room_intrinsics_test15/15;room_relay_integration_test15 passed and 1 skipped (that test is WebSocket-only, and this tree has WS off).state_transport_ws_test39/39;state_transport_grpc_test45/45 (3 optional ones skipped);room_relay_integration_test16/16;room_intrinsics_test15;state_identity_test6;state_device_key_test6;holon_test29;holon_sync_test17;media_rungs_test5, with the Opus tests skipped for lack of libopus.CVC_ARISRV_ROOM_DEBUG=1. Each link carried about 700–750 kb/s each way with Opus, against about 2,150 kb/s with f32 mics.libopus.ainstalls and exportsopus_{en,de}coder_createandopus_{en,de}code_float. Windows and macOS were still building when this was written.Not verified
.wasminstead.