code wiki / _hdl_build / nx_video_qoe_live.nx

nx_video_qoe_live.nx

buildroot/runtime/_hdl_build/nx_video_qoe_live.nx

12068 B206 linesdepth 20pulls 149 transitivereach 0 importersview sourcekind tooltopic video
docsdependenciesstructsconstsfunctions

about

nx_video_qoe_live.nx -- LIVE video-QoE measurement (operator 2026-07-03: "provide fps and stability and other measurements ... too many false positives that our video chat is really good ... honest feedback if we need more hardware"). NOT a simulation: two real TLS-1.3+WSS sessions through the PRODUCTION edge (nishifamily.com -> sites.elf /signal pump -> nx_signaling_v2 relay), sender A paces REAL room-framed video-kind frames (vc_wire_pack kind 0x56, 6000B payload = a realistic ladder JPEG) at a target cadence, receiver B timestamps arrivals. Ping-pong (one frame in flight) = backpressure-safe on the production relay. Measures PER RUNG of a load ramp (20/40/80/160 fps): achieved fps, path latency p50/p95/max, late>150ms (playout-deadline class, the intl_h2h convention), gap>500ms (hard-freeze class), and a connect/TLS setup time. The ramp knee = the honest hardware ceiling of the CURRENT edge. HONESTY BOUNDS (printed, so no false positives): this measures the Texas-side LAN->edge->LAN path ONLY; the Minsk leg needs a probe RUN FROM MINSK (registered follow-up) or calibration vs RIPE-Atlas real-path data (banked by nx_vqoe_research_fetch). Log -> knowledge/status/video_qoe_live.log expect_exit: 0 (measurement SOUND -- controls hold; the numbers themselves print honestly) license_tier: ORIGINAL

dependencies 3 imports · 0 importers

nx_ws_client_session.nx nx_video_client_wasm.nx nx_metric_ledger.nx nx_video_qoe_live.nx

imports: nx_ws_client_session.nxnx_video_client_wasm.nxnx_metric_ledger.nx

imported by: nobody (leaf or entry point)

call flow from main pre-order; caps 40 nodes / depth 6 declared; ↻ = already shown

main qw nx_trust_store_load_from_c sys_mmap sys_read_file sys_openat_rd sys_lseek sys_mmap ↻ sys_read sys_close nx_nss_certdata_parse sys_mmap ↻ _pat_class_cert _pat_value_octal _pat_end _find_newline _starts_with _parse_octal_line sys_mmap ↻ _is_space _decode_octal_escape _is_octal trust_store_alloc sys_mmap ↻ nx_x509_trust_store_load sys_mmap ↻ x509_parse sys_mmap ↻ asn1_cursor_init asn1_expect_tag sys_mmap ↻ asn1_read_tlv_header asn1_read_tag asn1_read_length asn1_read_length ↻ x509_read_tlv sys_mmap ↻ asn1_expect_tag ↻ x509_read_alg_id sys_mmap ↻

structs

none

consts

18const QOE_MAGIC_8192: i64 = 8192
19const QOE_MAGIC_150000: i64 = 150000
20const QOE_MAGIC_500000: i64 = 500000
21const QOE_MAGIC_10000000: i64 = 10000000
22const QOE_MAGIC_4194304: i64 = 4194304
23const QOE_MAGIC_16384: i64 = 16384
24const QOE_MAGIC_50000: i64 = 50000
25const QOE_MAGIC_25000: i64 = 25000
26const QOE_MAGIC_12500: i64 = 12500
27const QOE_MAGIC_6250: i64 = 6250
29const QOE_PAY: i64 = 6000 // realistic ladder-frame payload (JPEG-class)
30const QOE_FRAMES: i64 = 200 // frames per rung

functions

32func qw(s: *u8) -> i64 { var n: i64=0; while s[n]!=(0 as u8){n=n+1} sys_write(1,s,n); return 0 }
called by 1: main
33func qn(v: i64) -> i64
37func qfw(fd: i64, s: *u8) -> i64 { var n: i64=0; while s[n]!=(0 as u8){n=n+1} sys_write(fd,s,n); return 0 }
38func qfn(fd: i64, v: i64) -> i64
44func qsortn(a: *i64, n: i64) -> i64
called by 1: rung
59func rung(sa: *Tls13ClientSession, fa: i64, sb: *Tls13ClientSession, fb: i64, intv_us: i64, id8: *u8, wirebuf: *u8, payload: *u8, got: *u8, lats: *i64, res: *i64) -> i64
113func main() -> i64