Expand description
SRT listener over srt-tokio (ARQ, TSBPD, optional AES). Rust owns the handshake, stream-ID parsing, one publisher per resource and the relay to every reader of it; the handler admits each caller and can push text messages to a reader.
Modules§
- actions
- streamid
- SRT stream IDs: the access-control syntax (
#!::r=live/cam,m=publish,u=alice, SRT AccessControl.md) and thepublish:path/read:pathform MediaMTX uses.
Constants§
- DEFAULT_
LATENCY - IDLE_
TIMEOUT - MAX_
READERS - REJECT_
CODES - Handler-facing reject reasons and their SRT server reject codes.
Functions§
- announce_
mss - srt-tokio 0.4.4 announces its live payload size (1316) in the handshake’s MSS field, where libsrt expects the MTU, so a libsrt peer limits itself to 1272-byte messages and cannot send the standard 1316 (seven TS packets). Raising the payload size to the live maximum, 1456, makes the announced MSS large enough for that; NetGet’s own messages are 1316 bytes either way.
- spawn