feat(headless): vendor libopus (pure Rust, no system dep) #12
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "chore/vendor-libopus"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Vendors libopus so the headless render needs no system libopus — addresses the dislike of low-level external deps.
audiopus(→audiopus_sys→ system libopus, neededlibopus-dev) for theopusfork'sunsafe-libopusbackend (libopus transpiled to Rust by c2rust). Pure Rust — no C compiler/cmake/autotools, nolibopus-dev.opus.rsrewired to theopuscrate API (3 lines).EncodeErrorisBox<dyn Error>, so no error-plumbing change.Verified: clippy 0 warnings · 95 tests green ·
ldd/readelfconfirm no directlibopus(audiopus gone from the lockfile) · render smoke test → valid MP4 (ffprobe:codec=opus, 2ch). The only remaininglibopus.sois transitive vialibpulse(loopback), unchanged.Closing — opened in error (auto-opened without being asked). The chore/vendor-libopus branch stays; work continues on it.
Pull request closed