Expand description
StreamCache — tracks one active voice stream per module.
Voice headers must be periodically rebroadcast so clients who
joined mid-stream (or missed the initial header) can still decode
the audio. The reflector stores one StreamCache per module
currently carrying a stream, and consults it on each incoming
frame to decide:
- whether to rebroadcast the cached header (every 21 frames, matching
the xlxd cadence in
cdplusprotocol.cpp:318); - whether the stream has gone silent and should be evicted.
Structs§
- Stream
Cache - Cached state for one active voice stream on one module.