fix(video): recover encoder capacity, pace RTP and isolate preview sessions
This commit is contained in:
@@ -1,6 +1,6 @@
|
||||
# Shared Node link budget
|
||||
|
||||
Release status, 2026-10-26: Node75 / VESC 0.20.9 / X4-23 are installed on Rover006.
|
||||
Historical release status, 2026-10-26: Node75 / VESC 0.20.9 / X4-23 are installed on Rover006.
|
||||
Node75 corrects selected-video credit starvation under repeated moderate command
|
||||
age. Full Ubuntu/race/package checks and scoped passive observation passed;
|
||||
driving/WAN impairment acceptance remains open. Earlier Node72 DEV start/stop,
|
||||
@@ -13,6 +13,28 @@ same Node/Core stack. Node 0.8.49-58, X4 0.1.3-19, RealSense 0.6.7 and K1
|
||||
0.1.16 add producer sizing through that same regulator; qualification and
|
||||
installation evidence is recorded in the installation ledger.
|
||||
|
||||
## RTP pacing correction, Node163 / X4-36, 2026-11-16
|
||||
|
||||
The pinned aiortc 1.14 adapter admits plaintext RTP before SRTP encryption.
|
||||
After the permit wait it refreshes the negotiated absolute-send-time extension,
|
||||
then lets aiortc authenticate/encrypt/send. An existing timestamp created before
|
||||
our wait falsely describes that wait as network timing; it is not corrected in
|
||||
encrypted bytes. Primary and RTX senders use their negotiated extension map.
|
||||
|
||||
Task-local admission credit is consumed exactly once at the existing ICE send
|
||||
boundary. Unadmitted RTP is rejected. Accounting charges the SRTP overhead upper
|
||||
bound and records actual wire bytes separately. The same Node regulator remains
|
||||
the sole owner; no second bandwidth policy, route, VPN rule or SIM knowledge is
|
||||
introduced. Existing 500 ms frame deadlines and bounded RTX history remain;
|
||||
retransmission cannot renew an expired frame. RTCP and SCTP retain their bounded
|
||||
protocol allowance/queue. REMB, bitrate floor and safety thresholds are unchanged.
|
||||
|
||||
Runtime evidence includes `pacing_boundary=before_srtp/v1`, send-clock update
|
||||
count and maximum correction. Tests include delayed admission, authenticated
|
||||
SRTP decryption, RTP/RTX timestamps, deadline expiry and bypass rejection.
|
||||
Passing these does not itself prove this defect caused every observed quality
|
||||
collapse; actual receiver quality and feedback must be observed together.
|
||||
|
||||
## Ownership and routing
|
||||
|
||||
One Go Node regulator owns the board's optional application egress. Critical
|
||||
@@ -103,8 +125,10 @@ and deferrals/active producer counts. Stale observations do not masquerade as cu
|
||||
|
||||
## Sender behavior and bounds
|
||||
|
||||
The shared Python SDK adapter is pinned to aiortc 1.14.0. It gates encrypted
|
||||
application datagrams and retransmissions at the existing ICE send boundary.
|
||||
The shared Python SDK adapter is pinned to aiortc 1.14.0. Since Node163/X4-36,
|
||||
it admits RTP and retransmissions before SRTP, restamps send time after waiting,
|
||||
and consumes admission credit at the existing ICE boundary. SCTP retains its
|
||||
existing bounded datagram queue.
|
||||
Small handshake/RTCP feedback is exempt to avoid deadlock. RTP awaits permits
|
||||
inside its existing sender; SCTP uses one bounded FIFO per transport (64
|
||||
packets/64 KiB, max queued age 0.5 s). A missing budget service, overflow or
|
||||
@@ -513,3 +537,30 @@ tests and a two-minute passive hardware/browser check. Command-pressure behavior
|
||||
on a physical drive remains unqualified. Detailed scope and telemetry tails:
|
||||
`39_NETWORK_RUNTIME_AB.md`, private `outputs/network-contention-20261026/` and
|
||||
`outputs/network-release-75-20261026/`.
|
||||
|
||||
### Feedback pause recovery · Node164 · 2026-11-16
|
||||
|
||||
An isolated return-feedback gap still suspends all optional traffic at the
|
||||
existing threshold and clears both aggregate and class tokens. It now retains
|
||||
the recently acknowledged window within the existing five-second recovery
|
||||
lifetime. Continuous healthy feedback for 200 ms is still required to resume;
|
||||
one delayed ACK or a queued burst cannot reopen admission. Capacity expires
|
||||
even if the first returning ACK precedes the deadline but recovery completes
|
||||
after it. Sustained RTT pressure still shrinks the window, and the aggregate
|
||||
adaptive budget and command guards remain authoritative.
|
||||
|
||||
This removes a circular dependency: resetting the window to 4096 bytes on each
|
||||
brief pause left a receiver-limited camera unable to send enough to regain
|
||||
credit. Recorded-gap regressions (254, 285, 434 and 1000 ms), long-outage expiry
|
||||
and the complete Node race suite pass. No fake receiver estimate, minimum
|
||||
bitrate increase, payload probing or safety-threshold change is introduced.
|
||||
Prepared-host package and stationary acceptance evidence is retained separately
|
||||
under `outputs/video-recovery-164`; this contract is not field acceptance.
|
||||
|
||||
|
||||
Node164 stationary acceptance remains incomplete: paired send/receive sequences
|
||||
showed a 1229.924 ms arrival gap against a 50.823 ms departure gap (Node receiver
|
||||
queue 0.126 ms). Before an independent Core restart, video had an 8.297 s pause.
|
||||
Retaining short-gap credit fixes the reproduced circular recovery defect; it
|
||||
is not evidence that the entire path is stable. No admission deadline, command
|
||||
lease or safety-stop threshold was relaxed. See the Node installation ledger.
|
||||
|
||||
@@ -5,6 +5,31 @@ SSID, proximity to an access point, or a local-address shortcut are not acceptan
|
||||
criteria. No motion, arming, calibration, controller configuration, or firmware
|
||||
commands belong to this qualification.
|
||||
|
||||
## Telemetry clock correction, Node162, 2026-11-16
|
||||
|
||||
The previous extrapolated observation lower-bound model is superseded. Each
|
||||
new local snapshot freezes a causal Core timestamp received before its capture,
|
||||
from a bounded 64-anchor history in the same Core epoch (maximum age two seconds).
|
||||
Node never advances that timestamp using its own clock. No suitable anchor means
|
||||
an invalid old timestamp, not an arrival-time fallback. Replaying a snapshot
|
||||
cannot refresh its measurement age. This is deliberately conservative by return
|
||||
path latency and anchor cadence; it does not estimate one-way latency as RTT/2.
|
||||
|
||||
Authenticated typed `sample_clock` rejection recalibrates only the observation
|
||||
clock. Compact metadata rejection resets only its encoder. Neither rejection
|
||||
renews an observation, authority, command lease or safety deadline. Unknown,
|
||||
transport, authentication and Core-epoch failures retain the negotiated reconnect.
|
||||
Repeated application rejection has bounded backoff; a late failed sequence
|
||||
cannot invalidate a newer successful publication.
|
||||
|
||||
The full Go race suite passed, including 30,000 clock/delay/reordering cases,
|
||||
expiry, replay and epoch boundaries; Core clock and metadata regressions passed.
|
||||
An isolated 144-second passive Node162 test recorded 1,426 successful exchanges,
|
||||
zero `sample_clock` rejects, zero reconnects and a maximum success gap of 289 ms.
|
||||
This is stationary evidence, not a driving or arbitrary WAN acceptance claim.
|
||||
Control thresholds, stop barriers, command upper clock and network policy did
|
||||
not change. Joint video acceptance belongs to the Node163 installation ledger.
|
||||
|
||||
## Earlier incident evidence, 2026-10-26 08:48 MSK
|
||||
|
||||
The reported drive failures are not yet a closed field incident. In the bounded
|
||||
|
||||
Reference in New Issue
Block a user