Ratatoskr-receiver/plugin
Repository files (latest commit first)
Filename Latest commit message Latest commit date
Meta Vens 261818408a Reassemble video here, where the renderer is
Chunks and parity in, whole access units out. The erasure code is the
contract's: XOR stripe parity as gamecult.media_video_parity_shard.v2
describes it, one recovered chunk per stripe. What this crate adds is
receiver policy the contract cannot carry — giving up on an incomplete
frame after 250 ms on this clock or under pressure from 64 newer ones,
remembering completed frames so late chunks do not reopen them, and
holding everything back after a loss until the next keyframe.

The C ABI now hands a renderer whole access units; RATATOSKR_KIND_VIDEO
means that and VIDEO_PARITY is gone, since no renderer has any use for a
parity shard. ratatoskr_receiver_video_stats reports completed frames,
chunks given back by parity, and frames given up on.

The C++ receiver's GF(256) block solver reads fields the v2 record does
not carry and belongs to the July-era muninn.* wire; it stays in Mimir.
Its audio erasure code had no producer on any contract.

  cargo test -p ratatoskr-core -> 20 passed

Co-Authored-By: Claude Fable 5.1 <noreply@anthropic.com>
2026-09-10 21:21:47 +02:00
..
include Reassemble video here, where the renderer is 2026-09-10 21:21:47 +02:00
tests Decode the envelope instead of handing over opaque bytes 2026-09-10 02:03:41 +02:00