Expand description
Fan-out engine for voice frames.
The reflector’s job on every inbound voice packet is to re-send the same bytes to every other client currently linked to the originator’s module. This file implements that “encode once, send N times” loop.
This function handles same-protocol fan-out only — it
re-sends the raw inbound bytes verbatim to every peer on the
same module. Cross-protocol forwarding (re-encoding bytes
from one protocol into another via super::transcode::transcode_voice)
is handled separately by the endpoint run loop’s broadcast-channel
subscriber path in super::endpoint::ProtocolEndpoint::run.
Structs§
- FanOut
Report - Report from a completed
fan_out_voicecall.
Functions§
- fan_
out_ voice - Fan out the raw wire bytes of a voice frame to every other client on the same module.
- fan_
out_ voice_ at - Same as
fan_out_voice, but takes an injectednow: Instantfor deterministic rate-limiter testing.