code wiki / _hdl_build / nx_room_stream.nx

nx_room_stream.nx

buildroot/runtime/_hdl_build/nx_room_stream.nx

3181 B80 linesdepth 0pulls 0 transitivereach 2 importersview sourcekind librarytopic room
docsdependenciesstructsconstsfunctions

about

nx_room_stream.nx -- the SOVEREIGN no-WebSocket media down-channel wire. Operator law: "we dont want js or websocket ... nishi from the hardware rung up." HTTP/1.1 chunked transfer-encoding (RFC 7230 4.1) is the mechanism a browser fetch() ReadableStream consumes PROGRESSIVELY -- live frames, not buffered to EOF -- with zero WebSocket and zero WebRTC. The Nishi TLS daemon emits this; a Nishi-emitted loader reads it and hands each chunk's bytes to the wasm client core (vc_wire_parse). Pure buffer ops: imports nothing, no syscalls (like nx_video_client_wasm) -- usable in any caller memory. Proven by nx_room_stream_gate (round-trip + vc_wire frames + malformed neg-control). license_tier: ORIGINAL

dependencies 0 imports · 2 importers

nx_room_stream.nx nx_room_stream_gate.nx nx_vroom_daemon.nx

imports: none

imported by: nx_room_stream_gate.nxnx_vroom_daemon.nx

structs

none

consts

none

functions

12func rs_hexdig(v: i64) -> u8 { if v < 10 { return (48 + v) as u8 } return (87 + v) as u8 }
called by 1: rs_chunk_encode
14func rs_hexval(c: u8) -> i64
called by 1: rs_chunk_decode
24func rs_chunk_encode(out: *u8, off: i64, payload: *u8, plen: i64) -> i64
called by 2: mainvd_stream calls 1: rs_hexdig
50func rs_chunk_decode(buf: *u8, n: i64, off: i64, info: *i64) -> i64
called by 1: main calls 1: rs_hexval