No description
Find a file
enzotar 392e478351 feat: WebRTC transport — peer-to-peer data channels with auto-fallback
Relay:
- /signal/{channel} path for SDP/ICE exchange via WebSocket
- handle_signaling broadcasts text messages between signaling peers
- signaling_tx broadcast channel in ChannelState
- 46 ds-stream tests (+2 signaling path tests)

JS Runtime:
- _initWebRTC(signalingUrl, streamUrl, mode) with RTCPeerConnection
- Unordered DataChannel (ordered:false, maxRetransmits:0) for low latency
- Auto-fallback: WebSocket starts immediately, WebRTC upgrades in ≤5s
- Data channel override of _streamSend for transparent binary protocol

Parser/AST:
- StreamTransport enum (WebSocket, WebRTC)
- transport field in StreamDecl
- Parses: stream x on url { mode: signal, transport: webrtc }

Codegen:
- WebRTC: emits DS._initWebRTC(sigUrl, streamUrl, mode)
- WebSocket: emits DS._initStream(url, mode) (unchanged)

97 tests, 0 failures
2026-02-25 15:02:31 -08:00
compiler feat: WebRTC transport — peer-to-peer data channels with auto-fallback 2026-02-25 15:02:31 -08:00
engine feat: WebRTC transport — peer-to-peer data channels with auto-fallback 2026-02-25 15:02:31 -08:00
examples feat: WebRTC transport — peer-to-peer data channels with auto-fallback 2026-02-25 15:02:31 -08:00
.gitignore feat: DreamStack compiler foundation — Phase 0/1 2026-02-25 00:03:06 -08:00
BITSTREAM_INTEGRATION.md feat(examples): add streaming-physics.ds, mark all roadmap items complete 2026-02-25 14:53:12 -08:00
Cargo.toml feat(wasm): add ds-stream-wasm crate — browser codec via WebAssembly 2026-02-25 14:45:51 -08:00
DREAMSTACK.md docs: add compiler-native streaming syntax to language reference 2026-02-25 14:37:16 -08:00
IMPLEMENTATION_PLAN.md feat: physics language integration — scene container with Rapier2D WASM 2026-02-25 10:58:43 -08:00