Size the media receive buffer like the producer's send buffer

A 12 Mbps stream is about 2,300 datagrams a second; the OS default
receive buffer holds a few milliseconds of it, and every poll gap longer
than that is loss on a wire that lost nothing.

Co-Authored-By: Claude Fable 5.1 <noreply@anthropic.com>
This commit is contained in:
Meta Vens 2026-09-11 01:01:12 +02:00
commit 014e24f771
3 changed files with 12 additions and 0 deletions

1
Cargo.lock generated
View file

@ -615,6 +615,7 @@ dependencies = [
"cultmesh-rs",
"cultnet-rs",
"rmp-serde",
"socket2",
]
[[package]]