← Back
Home › Systems › Communication and media

group-voice

low-latency group voice

Discord voice

SystemTechniques · 8Primitives · 27 group-voice Acoustic echo cancellationmedia · medium: Adaptive filter (NLMS/frequency-domain) removing far-end echo from the microphone signalJitter buffermedia · medium: A receiver-side buffer holds packets just long enough, a delay tracked from recent arrivals, to reorder them and hand out media at a steady rate.›NAT traversal (STUN, ICE, TURN)media · medium: Learn your public address with STUN, swap candidate addresses over signalling, test pairs with ICE checks, and fall back to a TURN relay if no direct path works.›Noise suppressionmedia · medium: Spectral gain estimation (Wiener/RNN) to remove background noise from speechPacket loss concealmentmedia · medium: Synthesize missing audio frames from prior signal (pitch repetition, neural PLC)Selective forwarding unitmedia · medium: A server receives each participant's media once and forwards chosen packets to every other participant, picking the quality layer per receiver without decoding anything.›Delay based congestion controlnetworking · medium: One-way delay gradient estimation for real-time media (GCC, transport-cc)Realtime audio callbackmedia · low: Allocation- and lock-free audio thread design with bounded work per bufferRTP and RTCPmedia · low: RTP stamps each media packet with sequence number, media-clock timestamp and source ID; RTCP reports loss, jitter, round trip and clock mapping within a bandwidth cap.›Voice activity detectionmachine-learning · low: Per-frame speech/non-speech decision with smoothing, from an energy threshold over a tracked noise floor up to small neural nets.›Linear predictive coding (LPC)media · low: Predict each sample from the previous p; code only the small prediction error plus p coefficients. Core of FLAC, speech codecs and the Opus SILK layer.›SRTPmedia · low: Per-packet encryption, authentication and replay protection for RTP and RTCP that keeps the headers readable, with the packet index derived from the 16-bit sequence number.›Consistent hashingdistributed · low: Hash nodes and keys onto a ring; each key belongs to the next node clockwise, so membership changes move only about 1/n of keys.›Audio mixingmedia · low: Summing many streams with gain, clipping control and per-listener minus-one mixesModified dctnumerics · low: MDCT with TDAC windows for transform audio codingForward error correctionsignal-processing · low: Add redundancy (LDPC, Reed-Solomon, XOR parity) so receivers repair loss without retransmitParameter smoothingmedia · low: Per-sample ramps of control parameters to avoid zipper noiseFast Fourier transformnumerics · low: Computes the DFT in O(n log n) by recursively splitting into even and odd halves; the basis of fast convolution and spectral methods.›IIR and FIR filterssignal-processing · low: Two ways to shape a sampled signal's spectrum: FIR (finite taps, always stable, exact linear phase) or IIR (feedback, a few coefficients, cheap but phase-distorting).›A/V sync and media clocksmedia · low: How audio and video stay lip-synced: per-stream timebases, PTS/DTS, PCR and RTCP clock mapping, and a master clock that slave streams chase by dropping, repeating or resampling.›Exponential smoothing (ETS, Holt-Wi…statistics · low: Forecast by keeping a few running states (level, trend, seasonal) updated by a fraction of each forecast error; O(1) memory per series and a strong baseline.›Sdp offer answermedia · low: SDP session descriptions and offer/answer negotiationNetwork address translationnetworking · low: NAT mapping tables, endpoint-independent mapping/filtering, hairpinning and port allocation+ 1 more techniques+ 11 more primitives

Similar systems

Share the most building blocks with this one.