Telegram-iOS/third-party/rnnoise/BUILD
Isaac 5962a563e4 feat: tgcalls CLI test tool with group SFU, video, and adaptation
Squashed buildout of the tgcalls testbench:

- CLI test tool with --mode p2p/reflector/group/group-churn,
  cross-version interop (--version, --version2), and quiet/summary output
- Linux toolchain + Docker multi-stage build, AWS Fargate mass test harness,
  local parallel mass test harness with signaling loss simulation
- SCTP writable gate, retransmission timer tuning, role-based handshake
- InstanceV2CompatImpl (PeerConnection backend with V2Impl signaling) and
  SignalingTranslator for v14.0.0 interop
- In-process Go/Pion SFU (ICE+DTLS+SRTP+SCTP per participant) with audio
  RTP forwarding, ActiveAudio/VideoSsrcs data channel broadcast, RTCP
  feedback path, and CGo c-archive integration
- GroupInstanceReferenceImpl (PeerConnection group-call) and mixed-impl
  group mode (--reference-participants), with SDP munging for simulcast
- H264 simulcast group video (FakeVideoTrackSource pattern generator,
  FakeVideoSink frame counting, --video flag, two-pass channel setup,
  reactive video setup from ActiveVideoSsrcs)
- Group churn stress mode (--mode group-churn, --churn-cycles)
- SFU stream-quality adaptation: BandwidthEstimator, LayerSelector
  state machine, RtxRingBuffer, simulcast SSRC rewrite
- Transport-cc feedback generation, NetworkSimulator (delay/jitter/loss/
  token-bucket bandwidth), --network-scenario step-down-up
- CLAUDE.md updates throughout

Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
2026-04-30 18:28:43 +02:00

48 lines
936 B
Text

replace_symbol_list = [
"_celt_autocorr",
"celt_fir",
"celt_iir",
"_celt_lpc",
"celt_pitch_xcorr",
"compute_band_corr",
"compute_band_energy",
"compute_dense",
"compute_gru",
"compute_rnn",
"interp_band_gain",
"opus_fft_alloc",
"opus_fft_alloc_arch_c",
"opus_fft_alloc_twiddles",
"opus_fft_c",
"opus_fft_free",
"opus_fft_free_arch_c",
"opus_fft_impl",
"opus_ifft_c",
"pitch_downsample",
"pitch_filter",
"pitch_search",
"remove_doubling",
]
cc_library(
name = "rnnoise",
srcs = glob([
"Sources/*.c",
"Sources/*.h",
]),
hdrs = glob([
"PublicHeaders/**/*.h",
]),
includes = [
"PublicHeaders",
],
copts = [
"-D{name}=rnnoise_{name}".format(name = name) for name in replace_symbol_list
] + [
"-Os",
],
visibility = [
"//visibility:public",
],
)