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:
parent
22044a28e5
commit
014e24f771
3 changed files with 12 additions and 0 deletions
1
Cargo.lock
generated
1
Cargo.lock
generated
|
|
@ -615,6 +615,7 @@ dependencies = [
|
|||
"cultmesh-rs",
|
||||
"cultnet-rs",
|
||||
"rmp-serde",
|
||||
"socket2",
|
||||
]
|
||||
|
||||
[[package]]
|
||||
|
|
|
|||
Reference in a new issue